Software /
code /
prosody
Changeset
594:6d9b2da9888f
Small logging adjustment for mod_posix
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 07 Dec 2008 03:12:56 +0000 |
parents | 593:121d82243023 |
children | 596:9fba6b040126 |
files | plugins/mod_posix.lua |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
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);