plugins/mod_posix.lua
changeset 4794 25ce7720555f
parent 3555 6938b6153890
child 4797 e239668aa6d2
--- 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;