# HG changeset patch # User Matthew Wild # Date 1365436625 -3600 # Node ID cc83b1a50fde0989fc3ec5c04715bd009aad6fee # Parent 35a271b4b920fcaa1f829f1c9730f3a6b66ef0bf mod_posix: Pass logger name to syslog, so that sources now get logged diff -r 35a271b4b920 -r cc83b1a50fde plugins/mod_posix.lua --- a/plugins/mod_posix.lua Mon Apr 08 16:56:40 2013 +0100 +++ b/plugins/mod_posix.lua Mon Apr 08 16:57:05 2013 +0100 @@ -118,9 +118,9 @@ local syslog, format = pposix.syslog_log, string.format; return function (name, level, message, ...) if ... then - syslog(level, format(message, ...)); + syslog(level, name, format(message, ...)); else - syslog(level, message); + syslog(level, name, message); end end; end