[OpenSER-Devel] SF.net SVN: openser: [4261] trunk/modules/presence/notify.c

Henning Westerholt henning.westerholt at 1und1.de
Mon Jun 2 11:41:08 CEST 2008


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



More information about the Devel mailing list