[OpenSIPS-Users] opensips and syslog facility/level
Liviu Chircu
liviu at opensips.org
Wed Aug 6 16:49:29 CEST 2014
Exactly. ERROR logs should go to local0.error, while INFO logs should go
to local0.info, for example.
Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com
On 08/06/2014 05:46 PM, Oleksandr Kunytsia wrote:
> Hello, Liviu Chircu
>
> Did I understand correct, that OpenSIPS should use logging level
> according to the situation?
>
>
>
>
>
>
> On Wed, Aug 6, 2014 at 12:14 PM, Liviu Chircu <liviu at opensips.org
> <mailto:liviu at opensips.org>> wrote:
>
> Hello Oleksandr,
>
> OpenSIPS should make use of all logging "levels" of syslog (/man 3
> syslog/). Its entire logging system is actually based upon the
> actual levels of syslog itself. The only logging level which isn't
> used is LOG_EMERG.
>
> If you are able to reproduce a unexpected behaviour (e.g. setting
> "log_level = 4" in the script, and OpenSIPS logs everything at
> local0.error), please post a report on the GitHub issues tracker [1].
>
> [1]: https://github.com/OpenSIPS/opensips/issues
>
> Best regards,
>
> Liviu Chircu
> OpenSIPS Developer
> http://www.opensips-solutions.com
>
> On 08/06/2014 08:49 AM, Oleksandr Kunytsia 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 <http://local2.info/>?
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
>
> _______________________________________________
> 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/dcfa92a5/attachment.htm>
More information about the Users
mailing list