Diff

plugins/mod_posix.lua @ 5177:add9ad38208e

mod_posix: Log a message explaining that we are detaching from the console
author Kim Alvefur <zash@zash.se>
date Sun, 11 Nov 2012 23:44:56 +0100
parent 5175:fabaed7418a6
child 5450:cc83b1a50fde
line wrap: on
line diff
--- a/plugins/mod_posix.lua	Sat Nov 10 23:41:53 2012 +0100
+++ b/plugins/mod_posix.lua	Sun Nov 11 23:44:56 2012 +0100
@@ -145,6 +145,7 @@
 
 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