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.

Forever logging with only 1 file? for pisg

Old posts that have not been replied to for several years.
Locked
H
H3g3m0n

Forever logging with only 1 file? for pisg

Post by H3g3m0n »

I am woundering if it is possible to output all logging for a channel to 1 specefic file forever.

I am trying to use psig to generate stats from my logfiles. I have managed to set it up to log my files with a timestamp eg
"eggdrop.log.24Dec02". Then i made a shell script that ran after the file changed that ran yesterdays file thorugh my own custom filters and then combined it into one big temporay file that was used with the pisg generator. This system was working fine untill i decided to switch from FreeBSD to Linux Slackware (FreeBSD was confusing =P ). It seems that the FreeBSD date command allows you to change the date it outputs reletaive to the current day (eg it would output 21 when its 22) date -v-1d "+%d%b%Y". This doesn't work on linux as the date shifting thing isn't supported. Im sure i could set it up to display the previous date but i would prefer if i could just set it up to log to 1 file.
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

See the documentation, and search the forums.

This has been answered numorous times.
Locked