> > 2007/11/21, Vladimir Rusinov <[EMAIL PROTECTED]>:
> Yes, but apache, nginx and others does not uses logger.
> I wanna write an application which would handle all my (Linux) logs:
> rotating, compressing, analysing and so on (logrotate replacement), it would
> require some nontrivial configura
On 11/21/07, Guilherme Polo <[EMAIL PROTECTED]> wrote:
>
> 2007/11/21, Vladimir Rusinov <[EMAIL PROTECTED]>:
> > Hello!
> >
> > In one my project (it's logfile manager) I want to implement 'smart'
> > configuration files, e.g.
> >
> > logfile("/var/log/messages")
> > if (size() > 10*1024*1024) and
On Nov 21, 12:44 pm, "Guilherme Polo" <[EMAIL PROTECTED]> wrote:
> 2007/11/21, Vladimir Rusinov <[EMAIL PROTECTED]>:
>
> > Hello!
>
> > In one my project (it's logfile manager) I want to implement 'smart'
> > configuration files, e.g.
>
> > logfile("/var/log/messages")
> > if (size() > 10*1024*1024
2007/11/21, Vladimir Rusinov <[EMAIL PROTECTED]>:
> Hello!
>
> In one my project (it's logfile manager) I want to implement 'smart'
> configuration files, e.g.
>
> logfile("/var/log/messages")
> if (size() > 10*1024*1024) and (lavg() < 5):
> execute("my_log_alerter")
>rotate(save=10, compre
Hello!
In one my project (it's logfile manager) I want to implement 'smart'
configuration files, e.g.
logfile("/var/log/messages")
if (size() > 10*1024*1024) and (lavg() < 5):
execute("my_log_alerter")
rotate(save=10, compress='bzip2')
how can I safely do this?
--
Vladimir Rusinov
GreenM