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

Henning Westerholt henning.westerholt at 1und1.de
Fri May 30 14:04:01 CEST 2008


On Friday 30 May 2008, Dan Pascu wrote:
> I think it'll do. I mean if the code has to inform you of something which
> is not an error nor a warning, it should use notice. I used this in my
> modules, usually in mod_init if I had to report something meaningful
> about the module state at startup. I tend to agree with Juha here and use
> info for script messages.

Hello Dan,

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.

Cheers,

Henning



More information about the Devel mailing list