search for: logtype_syslog

Displaying 5 results from an estimated 5 matches for "logtype_syslog".

2020 Jun 02
2
problem with logger: syslog vs. file
...function is defined ? > > I have reported the above problem twice, but unfortunately did not > receive any feedback at all. > > I believe I have now finally pinpointed the exact place in source code, > where this is coming from. main/logger.c: > break; > > > case LOGTYPE_SYSLOG: > snprintf(buf, size, "%s[%d]%s: %s:%d in %s: %s", > levels[msg->level], msg->lwp, call_identifier_str, > msg->file, msg->line, msg->function, msg->message); > term_strip(buf, buf, size); > break; > > case L...
2019 Nov 16
2
problem with logger
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[7609][C-00000013] pbx.c: NOTICE[3042] chan_sip.c: Peer '1111' is now UNREACHABLE! vs. VERBOSE[7609][C-00000013]: pbx.c:2925 in
2020 Jun 02
0
problem with logger: syslog vs. file
...n? Who cares on which line in the .c file > the function is defined ? I have reported the above problem twice, but unfortunately did not receive any feedback at all. I believe I have now finally pinpointed the exact place in source code, where this is coming from. main/logger.c: break; case LOGTYPE_SYSLOG: snprintf(buf, size, "%s[%d]%s: %s:%d in %s: %s", levels[msg->level], msg->lwp, call_identifier_str, msg->file, msg->line, msg->function, msg->message); term_strip(buf, buf, size); break; case LOGTYPE_FILE: snprintf(buf,...
2020 Jun 03
0
problem with logger: syslog vs. file
> On 2020-06-02 17:48, Tony Mountifield wrote: > In article <94191802-6c9c-bdab-615b-001786a2a0ca at gmx.ch>, > Fourhundred Thecat <400thecat at 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", >> levels[msg->level], msg->lwp, call_identifier_str, >> msg->file, msg->line, msg->function, msg->message); >> term_strip(buf, buf, size); >>...
2020 Jun 03
2
problem with logger: syslog vs. file
...> On 2020-06-02 17:48, Tony Mountifield wrote: > > In article <94191802-6c9c-bdab-615b-001786a2a0ca at gmx.ch>, > > Fourhundred Thecat <400thecat at 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", > >> levels[msg->level], msg->lwp, call_identifier_str, > >> msg->file, msg->line, msg->function, msg->message); > >> term_strip(buf, buf, size);...