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
commit1d5e91352f2ead648833ee4ec34e519d453f3537 (patch)
treef0b9d28a844484c9a2d103ef3457412b53006465 /plugins/mod_posix.lua
parente8e1d220b860a0e45962f810e7b1dfbb9900ce61 (diff)
downloadprosody-1d5e91352f2ead648833ee4ec34e519d453f3537.tar.gz
prosody-1d5e91352f2ead648833ee4ec34e519d453f3537.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;