diff options
author | Elazar Broad <elazar@thebroadfamily.com> | 2015-09-21 09:16:46 -0400 |
---|---|---|
committer | Matt Jordan <mjordan@digium.com> | 2015-09-22 07:40:57 -0500 |
commit | ec514ad64dbc0014525008977c8c74c2856c9d3a (patch) | |
tree | 74efae0cb9fe3a2cc80e12ae061618b6ce3c1742 /codecs | |
parent | 0ce661f0c03461a2ba217065efd19834f34cf2e1 (diff) |
core/logging: Fix logging to more than one syslog channel
Currently, Asterisk will log to the last configured syslog
channel in logger.conf. This is due to the fact that the
final call to openlog() supersedes all of the previous calls.
This commit removes the call to openlog() and passes the
facility to ast_log_vsyslog(), along with utilizing the
LOG_MAKEPRI macro to ensure that the message is routed to
the correct facility and with the correct priority.
ASTERISK-25407 #close
Reported by: Elazar Broad
Tested by: Elazar Broad
Change-Id: Ie2a2416bc00cce1b04e99ef40917c2011953ddd2
Diffstat (limited to 'codecs')
0 files changed, 0 insertions, 0 deletions