[sr-dev] different mysql errors
Andrei Pelinescu-Onciul
andrei at iptel.org
Thu Jun 4 11:57:01 CEST 2009
On Jun 04, 2009 at 12:34, Juha Heinanen <jh at tutpro.com> wrote:
> Andrei Pelinescu-Onciul writes:
>
> > Replace the corresponding LOG line with:
> > LOG_(DEFAULT_FACILITY, L_INFO, "<script>: ", ...(old LOG
> > content)...)
>
> andrei,
>
> are you suggesting that if i now have xlog
>
> xlog("L_INFO", "INFO: Routing in-dialog $rm from <$fu> to <$ru>\n")
>
> i should replace it with
>
> LOG_(DEFAULT_FACILITY, L_INFO, "<script>: ", "INFO: Routing in-dialog $rm from <$fu> to <$ru>\n" )
>
> if yes, it is far too long and complicated.
No, you should replace the LOG/LM_* call inside the xlog module code,
corresponding to the script xlog() command.
The script xlog() doesn't have to change, only its implementation.
Andrei
More information about the sr-dev
mailing list