[OpenSIPS-Users] Run Server in background with maximum debug to log file
Wasin Thiengkunagrit
wasin.th at gmail.com
Sun Jan 11 06:21:00 CET 2009
Dear Iñaki Baz Castillo,
I'm running Opensips on Ubuntu 8.10. And I've found out that the log appear on
both /var/log/syslog and /var/log/opensips. The log messages are
almost the same.
I think that OpenSips forwarding all log to /var/log/opensips and some
of the duplicate messages
to /var/log/syslog.
Wasin
2009/1/11 Iñaki Baz Castillo <ibc at aliax.net>:
> 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
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
More information about the Users
mailing list