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 Directories with Year/Month

Old posts that have not been replied to for several years.
Locked
c
captbunzo

Logfile Directories with Year/Month

Post by captbunzo »

I'd like to set my channel logfile directories to include the year and the month. However, no matter what I put for "set logfile-suffix" and "logfile", I can't seem to get it to work.

Does anyone have any pointers, please? :)
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

logfiles

Post by YooHoo »

# If you want to keep your logfiles forever, turn this setting on. All
# logfiles will get suffix ".[day, 2 digits][month, 3 letters][year, 4 digits]".
# Note that your quota/hard-disk might be filled by this, so check your logfiles
# often and download them.
set keep-all-logs 1

# If keep-all-logs is 1, this setting will define the suffix of the logfiles.
# The default will result in a suffix like "04May2000". "%Y%m%d" will produce
# the often used yyyymmdd format. Read the strftime manpages for more options.
# NOTE: On systems which don't support strftime, the default format will
# be used _always_.
set logfile-suffix ".%d%b%Y"
:o
Also netbots has a built-in that has the bot email your logs daily.
Locked