Re: python safe scripting

2007-11-23 Thread Simon Hibbs
> > 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

Re: python safe scripting

2007-11-22 Thread Vladimir Rusinov
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

Re: python safe scripting

2007-11-21 Thread i3dmaster
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

Re: python safe scripting

2007-11-21 Thread Guilherme Polo
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