[asterisk-users] problem with logger: syslog vs. file
Steve Edwards
asterisk.org at sedwards.com
Wed Jun 3 10:21:53 CDT 2020
On Wed, 3 Jun 2020, Fourhundred Thecat wrote:
>> On 2020-06-03 12:18, Tony Mountifield wrote:
>> In article <88f96e46-e6bb-a7ef-bebb-5588ef6cd6c1 at gmx.ch>,
>>
>> However, the conversation would then be: should both logging types include
>> line number and function? should both logging types omit them? should
>> it be a configuration option in logger.conf whether they include or omit?
>> if so, what should the default be, if not specified in logger.conf?
>
> that's easy!
>
> log level should be configurable in config file, not hardcoded.
>
> Logging debugging info in production environment is madness.
How about:
syslog.local0 = error,verbose,warning
no debugging detail.
syslog.local0 = debug,error,verbose,warning
include debugging detail.
--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
https://www.linkedin.com/in/steve-edwards-4244281
More information about the asterisk-users
mailing list