Software /
code /
prosody
Changeset
4794:25ce7720555f
mod_posix: Support syslog_facility config option
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 26 Apr 2012 18:14:42 +0100 |
parents | 4793:eaa8991998d5 |
children | 4796:04a34287dc12 |
files | plugins/mod_posix.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_posix.lua Tue Apr 24 21:37:20 2012 +0200 +++ b/plugins/mod_posix.lua Thu Apr 26 18:14:42 2012 +0100 @@ -112,7 +112,7 @@ local syslog_opened; function syslog_sink_maker(config) if not syslog_opened then - pposix.syslog_open("prosody"); + pposix.syslog_open("prosody", module:get_option_string("syslog_facility")); syslog_opened = true; end local syslog, format = pposix.syslog_log, string.format;