On Saturday 31 May 2008, Juha Heinanen wrote:
> > then lets go with notice in this case. But there are also quite a lot of
> > module that uses info for similar statements. I don't like the idea of
> > artificially separating the logging from script and code. We use for
> > example different log levels even in the script.
>
> i suggest that we change all module info's to notice's.  i use 34
> modules and this presence one was the first one i ever saw.  compared to
> other logging changes that we have made earlier, this change would be
> peanuts.

Hi Juha,

given your requirements:

> > > it should be possible to run openser at such a debug level where i get
> > > to syslog only error and warning messages in addition to what i
> > > generate from script

i don't understand how this would improve the situation for you.

If you run openser with debug=3 then all info, notice and other debug 
statements will be end up in your log.

To meet your requirements it would be necessary to increase the priority of 
all xlog statements (either in code or script) to notice, run openser with 
debug=2 and port all notice in the code to info.

Cheers,

Henning

_______________________________________________
Devel mailing list
Devel@lists.openser.org
http://lists.openser.org/cgi-bin/mailman/listinfo/devel

Reply via email to