[OpenSER-Devel] SF.net SVN: openser: [4261] trunk/modules/presence/notify.c
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Fri May 30 14:09:35 CEST 2008
Guys,
what about using a different log facility for xlog and log? that you can
split the messages from syslog daemon.
Regards,
Bogdan
Henning Westerholt wrote:
> 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