# HG changeset patch # User Matthew Wild # Date 1335460482 -3600 # Node ID 25ce7720555fd22a6fcca873f2a876167f670348 # Parent eaa8991998d54633c8f8177b3af249ed665941f7 mod_posix: Support syslog_facility config option diff -r eaa8991998d5 -r 25ce7720555f plugins/mod_posix.lua --- 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;