projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f52eddd
)
Small logging adjustment for mod_posix
author
Matthew Wild
<mwild1@gmail.com>
Sun, 7 Dec 2008 03:12:56 +0000
(
03:12
+0000)
committer
Matthew Wild
<mwild1@gmail.com>
Sun, 7 Dec 2008 03:12:56 +0000
(
03:12
+0000)
plugins/mod_posix.lua
patch
|
blob
|
history
diff --git
a/plugins/mod_posix.lua
b/plugins/mod_posix.lua
index 8dc4c77d7249248344b4f8e80bfb3b3f0c057e28..7559d3edae60d621b8dbc375c5f2998176c573d3 100644
(file)
--- a/
plugins/mod_posix.lua
+++ b/
plugins/mod_posix.lua
@@
-35,15
+35,13
@@
if not config_get("*", "core", "no_daemonize") then
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);