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.

Logfile.

Old posts that have not been replied to for several years.
Locked
P
PsychoO
Voice
Posts: 2
Joined: Thu Jul 21, 2005 3:06 pm

Logfile.

Post by PsychoO »

Hi i need some help with the log files.
I have a stat bot who generate stats from the log files..
But my bot is making chann.log.yesterday and chann.log.date.
I need it to log one file for each channel.. so it dont make alle the ather files..
Some one.. please help me.
Psycho Hosting.
I Make The World Free!
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

From doc/TRICKS:
If you don't want your logfiles to be deleted after two days and don't
want the bot to create a new logfile each new day, then set 'keep-all-logs'
to 0 and 'switch-logfiles-at' to 2500 in your bot's config file to make it
keeping one logfile all the time. This is not recommended on high traffic
channels.
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

Re: Logfile.

Post by YooHoo »

PsychoO wrote:Hi i need some help with the log files.
I have a stat bot who generate stats from the log files..
But my bot is making chann.log.yesterday and chann.log.date.
I need it to log one file for each channel.. so it dont make alle the ather files..
Some one.. please help me.
You can designate any/all channels to be logged with any attributes by using the logfile command in your conf file, in addition to setting keep-all-logs 0and switch-logfiles-at 2500

Code: Select all

logfile <attributes> <chan> [name_of_log]
Locked