[OpenSER-Devel] SF.net SVN: openser: [4261] trunk/modules/presence/notify.c
Dan Pascu
dan at ag-projects.com
Fri May 30 13:51:47 CEST 2008
On Friday 30 May 2008, Henning Westerholt wrote:
> On Friday 30 May 2008, Bogdan-Andrei Iancu wrote:
> > I tend to agree with Henning here - after all everything reduces to
> > how you configure your logging levels. For example, you could use
> > L_WARNING for your script. After all we cannot make distinction
> > between what is logged from code and what from script, but there is a
> > need for booth.
> >
> > Maybe for solving this we could downgrade the log from C code to
> > NOTICE......just an idea...
>
> Hi Bogdan,
>
> i don't think this is a good way to solve this. An easy way to seperate
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.
--
Dan
More information about the Devel
mailing list