[OpenSIPS-Users] opensips and syslog facility/level
Muhammad Shahzad
shaheryarkh at gmail.com
Wed Aug 6 10:17:32 CEST 2014
You can set opensips log level using "debug" parameter.
http://www.opensips.org/Documentation/Script-CoreParameters-1-11#toc35
Also make sure your syslog service is configured to send local2.* logs to
the log file(s) where you want to see them. i.e. to see all opensips logs
file named opensips.log set /etc/rsyslog.conf to have entry like this,
local2.* /var/log/opensips.log
Then restart the service.
Hope this helps.
Thank you.
On Wed, Aug 6, 2014 at 10:49 AM, Oleksandr Kunytsia <okunia at gmail.com>
wrote:
> Hello,
>
> Logging of my opensips looks like the following:
>
> ----cut----
> log_facility=LOG_LOCAL2
> log_stderror=no
> ----cut----
>
> Opensips sends logging information as LOCAL2.error messages,
>
> How to configure to send messages with another log_level? e.g. local2.info
> ?
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140806/91e68ede/attachment-0001.htm>
More information about the Users
mailing list