Re: [asterisk-users] problem with logger: syslog vs. file

2020-06-02 Thread Fourhundred Thecat
> On 2019-11-16 03:29, Fourhundred Thecat wrote: Hello, I am logging directly into file and also to syslog. Here is snippet from my /etc/asterisk/logger.conf: messages => notice,warning,error,verbose syslog.local0 => notice,warning,error,verbose But the logs look different: VERBOSE[7

Re: [asterisk-users] problem with logger: syslog vs. file

2020-06-02 Thread Tony Mountifield
In article <94191802-6c9c-bdab-615b-001786a2a...@gmx.ch>, Fourhundred Thecat <400the...@gmx.ch> wrote: > > On 2019-11-16 03:29, Fourhundred Thecat wrote: > > Hello, > > > > I am logging directly into file and also to syslog. > > Here is snippet from my /etc/asterisk/logger.conf: > > > > mess

Re: [asterisk-users] problem with logger: syslog vs. file

2020-06-02 Thread Fourhundred Thecat
> On 2020-06-02 17:48, Tony Mountifield wrote: In article <94191802-6c9c-bdab-615b-001786a2a...@gmx.ch>, Fourhundred Thecat <400the...@gmx.ch> wrote: > On 2019-11-16 03:29, Fourhundred Thecat wrote: case LOGTYPE_SYSLOG: snprintf(buf, size, "%s[%d]%s: %s:%d in %s: %s",

Re: [asterisk-users] problem with logger: syslog vs. file

2020-06-03 Thread Tony Mountifield
In article <88f96e46-e6bb-a7ef-bebb-5588ef6cd...@gmx.ch>, Fourhundred Thecat <400the...@gmx.ch> wrote: > > On 2020-06-02 17:48, Tony Mountifield wrote: > > In article <94191802-6c9c-bdab-615b-001786a2a...@gmx.ch>, > > Fourhundred Thecat <400the...@gmx.ch> wrote: > >> > On 2019-11-16 03:29, Fourh

Re: [asterisk-users] problem with logger: syslog vs. file

2020-06-03 Thread Fourhundred Thecat
> On 2020-06-03 12:18, Tony Mountifield wrote: In article <88f96e46-e6bb-a7ef-bebb-5588ef6cd...@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 wh

Re: [asterisk-users] problem with logger: syslog vs. file

2020-06-03 Thread Steve Edwards
On Wed, 3 Jun 2020, Fourhundred Thecat wrote: On 2020-06-03 12:18, Tony Mountifield wrote: In article <88f96e46-e6bb-a7ef-bebb-5588ef6cd...@gmx.ch>, However, the conversation would then be: should both logging types include line number and function? should both logging types omit them? should i

Re: [asterisk-users] problem with logger: syslog vs. file

2020-06-03 Thread Fourhundred Thecat
> On 2020-06-03 17:21, Steve Edwards wrote: How about:     syslog.local0   = error,verbose,warning no debugging detail.     syslog.local0   = debug,error,verbose,warning include debugging detail. currently, the above has no effect on logging. As I

Re: [asterisk-users] problem with logger: syslog vs. file

2020-06-03 Thread Steve Edwards
On Wed, 3 Jun 2020, Fourhundred Thecat wrote: On 2020-06-03 17:21, Steve Edwards wrote: How about:     syslog.local0   = error,verbose,warning no debugging detail.     syslog.local0   = debug,error,verbose,warning include debugging detail. current