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.

Logging All Channels (separate Log files)

General support and discussion of Eggdrop bots.
Post Reply
z
zysfryar
Voice
Posts: 1
Joined: Tue Oct 17, 2006 9:40 pm

Logging All Channels (separate Log files)

Post by zysfryar »

Good day All,

I'm having a problem with Bot Logging,

Before I go into my problem, If it has been asked/addressed already, please kindly PM me the thread... My searches came up empty handed.

If my question is supported through a script all help and pointers are appreciated.


To be percise, I want my Bot to Log info for each channel...

Here is what I have setup:

Code: Select all

set max-logsize 0
set quick-logs 0
set raw-log 0
set log-time 1
set keep-all-logs 1
set logfile-suffix ".%Y%m%d.log"
set switch-logfiles-at 000
set quiet-save 1
My LogFile sets are

Code: Select all

logfile mcosx * "logs/eggdrop"
logfile jpkc #chan1 "logs/chan1"
logfile jpkc #chan2 "logs/chan3"
logfile jpkc #chan3 "logs/chan3"

What I want to be able to do... is
have any new chanels added via +chan on the bot to be automatically Logged... by its ChannelName...

basically, I'm looking for something that would be a command like:
logdefault jpkc # "logs"

ie, if I do a
+chan #NewChan

I would get an equivalent of...
logfile jpkc #NewChan "logs/NewChan"

without needing to update my eggdrop.Conf file every time..

My bot may be Creating/Joining several channels a day, and I want each of those to be logged when they are created.



Thanks,
Zys
Post Reply