[OpenSIPS-Users] Run Server in background with maximum debug to log file

Iñaki Baz Castillo ibc at aliax.net
Sun Jan 11 05:12:02 CET 2009


El Domingo, 11 de Enero de 2009, Wasin Thiengkunagrit escribió:
> Additionally you can
> redirect the log result to another file (which is not syslog) by doing
> this steps
>  1. Set the "log_facility=LOG_LOCAL7"
>  2. edit file /etc/syslog.conf  by adding this line to the end of the
> file "local7.* /var/log/opensips"
>  3. create the initial log file with command "$echo "" > /var/log/opensips"
>  4. restart syslog deamon with command "$/etc/init.d/sysklogd restart"
>  5. restart your OpenSips again this should log every messages into
> /var/log/opensips file

Those steps make OpenSIPS log appearing in /var/log/opensips, but still 
remains appearing in /var/log/syslog, at least in Debian Etch following step 
by step your explanation.

This is something I've never got (logging OpenSIPS to any file but syslog).

Regards.

-- 
Iñaki Baz Castillo



More information about the Users mailing list