diff options
author | Matthew Jordan <mjordan@digium.com> | 2015-01-12 18:01:46 +0000 |
---|---|---|
committer | Matthew Jordan <mjordan@digium.com> | 2015-01-12 18:01:46 +0000 |
commit | 9065488ddd308ef4a3b46ad2da0a993e2e18c370 (patch) | |
tree | 71e4cb4f414c1640f3771cddd61d6a73e9fbd069 /main/pbx.c | |
parent | b38acbce6e7ebf54da81d67c1e9ea4eabb732ea8 (diff) |
main/syslog: Allow dynamic logs, such as security events, to log to the syslog
The security event log uses a dynamic log level (SECURITY) that is registered
with the Asterisk logging core. Unfortunately, the syslog would ignore log
statements that had a dynamic log level associated with them. Because the
syslog cannot handle ad hoc dynamic log levels, this patch treats any dynamic
log entries sent to the syslog as logs with a level of NOTICE.
ASTERISK-20744 #close
Reported by: Michael Keuter
Tested by: Michael L. Young, Jacek Konieczny
patches:
asterisk-20744-syslog-dynamic-logging_trunk.diff uploaded by Michael L. Young (license 5026)
........
Merged revisions 430506 from http://svn.asterisk.org/svn/asterisk/branches/11
........
Merged revisions 430507 from http://svn.asterisk.org/svn/asterisk/branches/13
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@430508 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/pbx.c')
0 files changed, 0 insertions, 0 deletions