Re: [Shinken-devel] Local log management

2011-02-07 Thread Hartmut Goebel
> This is using the old-style substitution mechanism, which is error prone. > > String template substitution new style with $variable is really simpler > for people and available since Python 2.4 +1 We should move towards this, if possible without changing existing (released) isntallations. -- S

Re: [Shinken-devel] Local log management

2011-02-04 Thread DEGREMONT Aurelien
Hermann Lauer a écrit : > On Fri, Feb 04, 2011 at 03:23:38PM +0100, DEGREMONT Aurelien wrote: > >> nap a �crit : >> >>> Hi all, >>> >>> Now the satellites daemon can have a local log. It's disabled by >>> default, and the configuration is in the etc/*d.ini of course. >>> >>> use_local_log=

Re: [Shinken-devel] Local log management

2011-02-04 Thread Hermann Lauer
On Fri, Feb 04, 2011 at 03:23:38PM +0100, DEGREMONT Aurelien wrote: > nap a ?crit : > > Hi all, > > > > Now the satellites daemon can have a local log. It's disabled by > > default, and the configuration is in the etc/*d.ini of course. > > > > use_local_log=0 > > local_log=%(workdir)s/pollerd.log

Re: [Shinken-devel] Local log management

2011-02-04 Thread DEGREMONT Aurelien
nap a écrit : > Hi all, > > Now the satellites daemon can have a local log. It's disabled by > default, and the configuration is in the etc/*d.ini of course. > > use_local_log=0 > local_log=%(workdir)s/pollerd.log This is using the old-style substitution mechanism, which is error prone. String te

Re: [Shinken-devel] Local log management

2011-02-04 Thread Hartmut Goebel
Am 04.02.2011 13:59, schrieb nap: > We can add the logging with simple rotation options, maybe the same > that the simple_log module, so users won't be lost. Yes, and we can reinvent the weel. SCNR -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult

Re: [Shinken-devel] Local log management

2011-02-04 Thread nap
On Fri, Feb 4, 2011 at 1:51 PM, Hartmut Goebel wrote: > Am 04.02.2011 12:51, schrieb nap: > > Do we really need more than flat file? Is the configuration format as > > easy with the logging module > > I bit there will be requests for file rotating and other stuff, soon. > Oh yes, I miss this one.

Re: [Shinken-devel] Local log management

2011-02-04 Thread Hartmut Goebel
Am 04.02.2011 12:51, schrieb nap: > Do we really need more than flat file? Is the configuration format as > easy with the logging module I bit there will be requests for file rotating and other stuff, soon. Yes, admins are lazy. But those are used to Python would appreciate *not* using yet-anoth

Re: [Shinken-devel] Local log management

2011-02-04 Thread nap
On Fri, Feb 4, 2011 at 12:22 PM, Hartmut Goebel wrote: > Am 04.02.2011 11:37, schrieb nap: > > use_local_log=0 > > local_log=%(workdir)s/pollerd.log > > Ough, this hurts! > > Why are you not using the default configurations options from the > standard logging module? > > Do we really need more tha

Re: [Shinken-devel] Local log management

2011-02-04 Thread Hartmut Goebel
Am 04.02.2011 11:37, schrieb nap: > use_local_log=0 > local_log=%(workdir)s/pollerd.log Ough, this hurts! Why are you not using the default configurations options from the standard logging module? -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult

Re: [Shinken-devel] Local log management

2011-02-04 Thread Laurent Guyon
Great, I'll test this as soon as possible, this was really a critical feature ;) Thx, Laurent Le vendredi 04 février 2011 à 11:37 +0100, nap a écrit : > Hi all, > > Now the satellites daemon can have a local log. It's disabled by > default, and the configuration is in the etc/*d.ini of course.

[Shinken-devel] Local log management

2011-02-04 Thread nap
Hi all, Now the satellites daemon can have a local log. It's disabled by default, and the configuration is in the etc/*d.ini of course. use_local_log=0 local_log=%(workdir)s/pollerd.log so by default it will be in the var directory, aside the pid. Jean -