Software /
code /
prosody
Diff
plugins/mod_posix.lua @ 4794:25ce7720555f
mod_posix: Support syslog_facility config option
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 26 Apr 2012 18:14:42 +0100 |
parent | 3555:6938b6153890 |
child | 4797:e239668aa6d2 |
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;