Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: something i think the anope conf file is missing  (Read 5217 times)

0 Members and 1 Guest are viewing this topic.

djGrrr

  • Anope User
  • Offline Offline
  • Posts: 51
    • http://www.p2p-network.net/
something i think the anope conf file is missing
« on: August 16, 2006, 05:06:10 PM »

I think the config file should have an option of whether to turn on the log channel by default or not, presently the only way to do it is with a command line switch -logchan or to manually turn it on after Anope is running with /OS SET LOGCHAN ON
Logged
P2P-NET Network Staff

n00bie

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 411
(No subject)
« Reply #1 on: August 16, 2006, 05:30:35 PM »

Yeah, it would be nice if logchan has an options in services.conf for enable or disable; in which i personally think that 60% of the users are setting their services log chan ON.

However, djGrrr, i know 1 old module by Trystan which can makes logchan enabled/ON when services get restarted etc. It is similarly to what you are saying about and you have to add EnableLogChan in services.conf ... its a nice working module and if you would like it ... i can give you the links or mods ;)

[Edited on 16-8-2006 by n00bie]
Logged
I am always doing things that which I cannot do, in order that I may learn how to do it.

Trystan Scott Lee

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 343
(No subject)
« Reply #2 on: August 16, 2006, 07:59:52 PM »

http://www.nomadinc.net/mymods/files/logchan.c

build add to autoload, and set the EnableLogChan in the config, don't worry about the module saying ti unloaded itself, since there is no point in having it loaded since once it set the logchan to on its on..

also you can start services with ./serivces -logchan
Logged
my God my tourniquet, return to me salvation

djGrrr

  • Anope User
  • Offline Offline
  • Posts: 51
    • http://www.p2p-network.net/
(No subject)
« Reply #3 on: August 17, 2006, 11:01:56 PM »

the module looks good, and the command line switch is also usefull, but i think that a config option for the logchan should be put in the core :)
Logged
P2P-NET Network Staff
Pages: [1]   Go Up