Eggheads: About logging in Eggdrop

Tothwolf tothwolf at concentric.net
Fri Apr 30 02:09:05 CST 2004


On Tue, 27 Apr 2004, Dariusz Kulinski wrote:

> Hello Ronny,
>
> Monday, April 26, 2004, 9:56:02 AM, you wrote:
>
> > 18:29:17 +<ting> I would like to see eggdrop with the
> > possibillity to log for a week or a month instead of just a day,
> > with .yesterday.log being .lastweek.log or .lastmonth.log with a
> > simple set log-by [day|week|month] even year?
>
> > Could anyone patch this? So that I can have it in my config, that
> > the bot stores the log for a whole week before doing;

> > set max-logs 5
> > set max-logsize 0
> > set quick-logs 0
> > logfile mco * "logs/eggdrop.log"
> > logfile mco * "logs/eggdrop.log"
> > logfile jpk #lamest "logs/lamest.log"
> > set log-time 1
> > set keep-all-logs 0

> > set logfile-suffix ".%d%b%Y"
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

> > What do you think?
>
> I think that because the way how is it done currently it would be very
> difficult to do it, much simplier would be to write script that each
> day would do thise tasks (join files etc)

Won't 'set logfile-suffix ".%Y%m"' work? Seems like eggdrop used to append
to an existing file, but maybe not.

-Toth



More information about the Eggheads mailing list