This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Question about logfiles.

Old posts that have not been replied to for several years.
Locked
r
ramirez
Voice
Posts: 10
Joined: Wed Feb 23, 2005 5:25 pm

Question about logfiles.

Post by ramirez »

Hey, I have a little question about logfiles in eggdrop config.
Currently I have something like this:

Code: Select all

logfile jpk #chan1 "logs/chan1.log"
logfile jpk #chan2 "logs/chan2.log"
logfile jpk #chan3 "logs/chan3.log"
logfile jpk #chan4 "logs/chan4.log"
I want my bot to log every channel's stuff into its own log file (which why I am using this), but I don't really want to edit the conf file everytime I add a channel, hence my question is.. Is there a way to set the bot to globally log the channels into individual files?
Something like this:

Code: Select all

logfile jpk * "logs/<chan>.log"
Where <chan> corresponds the channel it is logging from..

Thanks.
User avatar
avilon
Halfop
Posts: 64
Joined: Tue Jul 13, 2004 6:58 am
Location: Germany

Post by avilon »

r
ramirez
Voice
Posts: 10
Joined: Wed Feb 23, 2005 5:25 pm

Post by ramirez »

Thanks, this is exactly what I need. :D

EDIT. Hey, I don't really want to create another topic, so let me ask another question in there..
Is there anyway to rehash the eggdrop config file externally? Meaning that you don't have to DCC Chat to the bot and do ".rehash". I am asking this because I am making a little web-based control panel that adds static chans to the eggdrop conf file, and I'd like them to take effect immediatly after saving the changes. And I don't really want to kill the bot and reload it.
User avatar
^DooM^
Owner
Posts: 772
Joined: Tue Aug 26, 2003 5:40 pm
Location: IronForge
Contact:

Post by ^DooM^ »

# Enable this setting if you want your Eggdrop to die upon receiving a SIGHUP
# kill signal. Otherwise, the Eggdrop will just save its userfile and rehash.
set die-on-sighup 0
The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born
r
ramirez
Voice
Posts: 10
Joined: Wed Feb 23, 2005 5:25 pm

Post by ramirez »

Exactly what I needed (again).
Thanks. :)
Locked