aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_posix.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-04-26 18:14:42 +0100
committerMatthew Wild <mwild1@gmail.com>2012-04-26 18:14:42 +0100
commit0502e8bceced7bfc3b34909e2ca27c0d6f86caf0 (patch)
treef0b9d28a844484c9a2d103ef3457412b53006465 /plugins/mod_posix.lua
parent43ea78425295cbd576b7d34ae220abe78694ea82 (diff)
downloadprosody-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.lua2
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;