[Serusers] Ser and Syslog

Greger V. Teigre greger at teigre.com
Sat Oct 14 15:27:38 CEST 2006


Have you kill -HUPed your syslog daemon?
g-)

Ricardo Carvalho wrote:
> Hi all,
>
> I'm trying to enable Ser to write log and debug messages to syslog, 
> but I'm not having success...
> I'm using Ser-0.9.6 and in my ser.cfg script I have added the 
> following entries:
>
> log_facility=LOG_LOCAL6
> loadmodule "/usr/local/lib/ser/modules/xlog.so"
>
> And in among the routes code I've added lines like this:
>
> xlog("L_INFO", "request method: [$rm], from URI: [$fu], To URI: [$tu]");
>
> I've added to the file /etc/syslog.conf the following line:
>
> local6.* /var/log/voip.log
>
> But nothing gets written to that file, not even to /var/log/messages 
> file! Although, if I make log_stderror=yes in ser.cfg, all log and 
> debug messages are shown just like was expected to the sterror!
>
> What am I doing wrong? What is lacking?
>
> Regards,
> Ricardo.
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
>



More information about the sr-users mailing list