diff options
author | Matthew Wild <mwild1@gmail.com> | 2012-04-26 18:14:42 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2012-04-26 18:14:42 +0100 |
commit | 0502e8bceced7bfc3b34909e2ca27c0d6f86caf0 (patch) | |
tree | f0b9d28a844484c9a2d103ef3457412b53006465 /plugins/mod_posix.lua | |
parent | 43ea78425295cbd576b7d34ae220abe78694ea82 (diff) | |
download | prosody-0502e8bceced7bfc3b34909e2ca27c0d6f86caf0.tar.gz prosody-0502e8bceced7bfc3b34909e2ca27c0d6f86caf0.zip |
mod_posix: Support syslog_facility config option
Diffstat (limited to 'plugins/mod_posix.lua')
-rw-r--r-- | plugins/mod_posix.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_posix.lua b/plugins/mod_posix.lua index d229c1b8..11985885 100644 --- a/plugins/mod_posix.lua +++ b/plugins/mod_posix.lua @@ -112,7 +112,7 @@ end 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; |