Software /
code /
prosody
Changeset
5450:cc83b1a50fde
mod_posix: Pass logger name to syslog, so that sources now get logged
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 08 Apr 2013 16:57:05 +0100 |
parents | 5449:35a271b4b920 |
children | 5451:941ad88db8f3 |
files | plugins/mod_posix.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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