aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2012-11-11 23:44:56 +0100
committerKim Alvefur <zash@zash.se>2012-11-11 23:44:56 +0100
commit8f3a73f5c58b6e2ef954fc61f8ae84ae71d1ff86 (patch)
tree6367ad48930ec474c7797b1f53089e0e52c684a2 /plugins
parentacbda76a756d27c406591f0a8ca24e27f3c3f8b8 (diff)
downloadprosody-8f3a73f5c58b6e2ef954fc61f8ae84ae71d1ff86.tar.gz
prosody-8f3a73f5c58b6e2ef954fc61f8ae84ae71d1ff86.zip
mod_posix: Log a message explaining that we are detaching from the console
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_posix.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_posix.lua b/plugins/mod_posix.lua
index ed64fc34..e871e5cf 100644
--- a/plugins/mod_posix.lua
+++ b/plugins/mod_posix.lua
@@ -145,6 +145,7 @@ end
if daemonize then
local function daemonize_server()
+ module:log("info", "Prosody is about to detach from the console, disabling further console output");
remove_log_sinks();
local ok, ret = pposix.daemonize();
if not ok then