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.

Log files via the pisg.

Old posts that have not been replied to for several years.
Locked
B
BeerMaN
Voice
Posts: 11
Joined: Fri Apr 18, 2003 5:50 pm
Location: Roskilde, Denmark
Contact:

Log files via the pisg.

Post by BeerMaN »

Hi - I'm running a eggdrop, with the famous perl program, pisg.
My question is, that my eggdrop only logs for 2 days, and then it starts again, with new logs - so I havent got the entire logfile from etc. like a month or so.
In the cfg file, I wrote this, after someone clever person wrote - that this would be the solution.
  • logfile jkp #chan "logs/"
    set keep-all-logs 1
    set switch-logfiles-at 2500
In my pisg.cfg I wrote this;
  • <channel="#chan">
    LogDir="/dir/to_my/eggdrop/logs/"
I did my crontab for the pisg; */10 * * * * /dir/to_my/pisg-dir/pisg --silent

But in the eggdrop/logs directory there's only three logfiles;
  • #chan.log #chan.log.yesterday and logs.29Apr2003
At my site, where I have chosen to put the output - there's only logs from 2 days, and as told not the entire month (etc.)

Anyone with some ideas?

Update**
I tried to set the set max-logs to 1 - but I got this output;

Tcl error in file 'bot.conf':
can't set "max-logs": you can't DECREASE max-logs
while executing
"set max-logs 1"
(file "bot.conf" line 11)
-0wned.
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

The error is precicly what it says.

You can't reduce the number used for max-logs.

PLace it back att he default of 5 and don't worry. This setting has no real use to the average user, and will not affects the way you want it to work.
T
TRaSH
Halfop
Posts: 56
Joined: Wed Feb 26, 2003 3:38 pm
Location: #Anime-Supreme

Post by TRaSH »

If you want to keep your logfiles forever,
try the following
set max-logs 50 <- to how many logfiles you want (don't decrease it).
set keep-all-logs 1
Locked