From 3e7cd680929dd2c391da21a940a4fc9e1b5663be Mon Sep 17 00:00:00 2001
From: Kim Alvefur <zash@zash.se>
Date: Sun, 11 Nov 2012 23:44:56 +0100
Subject: mod_posix: Log a message explaining that we are detaching from the
 console

---
 plugins/mod_posix.lua | 1 +
 1 file changed, 1 insertion(+)

(limited to 'plugins')

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
-- 
cgit v1.2.3