Diff

prosody.cfg.lua.dist @ 3906:877262704c44

prosody.cfg.lua.dist: Update for new logging config format
author Matthew Wild <mwild1@gmail.com>
date Tue, 21 Dec 2010 01:30:27 +0000
parent 3767:3ba97d1d7a62
child 3907:1e82c9b9db11
line wrap: on
line diff
--- a/prosody.cfg.lua.dist	Mon Dec 20 14:06:32 2010 +0000
+++ b/prosody.cfg.lua.dist	Tue Dec 21 01:30:27 2010 +0000
@@ -94,8 +94,11 @@
 
 -- Logging configuration
 -- For advanced logging see http://prosody.im/doc/logging
-log = "prosody.log";
-debug = false; -- Log debug messages?
+log = {
+	info = "prosody.log"; -- Change info to debug for verbose logging
+	error = "prosody.err";
+	-- "*syslog"; -- Uncomment this for logging to syslog
+}
 
 ----------- Virtual hosts -----------
 -- You need to add a VirtualHost entry for each domain you wish Prosody to serve.