Software /
code /
prosody
Diff
plugins/mod_posix.lua @ 594:6d9b2da9888f
Small logging adjustment for mod_posix
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 07 Dec 2008 03:12:56 +0000 |
parent | 587:43f509a1519a |
child | 722:63456c9d0522 |
line wrap: on
line diff
--- a/plugins/mod_posix.lua Sun Dec 07 03:12:22 2008 +0000 +++ b/plugins/mod_posix.lua Sun Dec 07 03:12:56 2008 +0000 @@ -35,15 +35,13 @@ log("info", "Daemonized to pid %d", ret); os.exit(0); else - log("info", "Successfully daemonized"); - if logwriter then local ok, ret = logger_set(logwriter); if not ok then log("error", "Couldn't set new log output: %s", ret); end end - + log("info", "Successfully daemonized"); end end module:add_event_hook("server-starting", daemonize_server);