Changeset

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 (2010-12-21)
parents 3905:9222dad9e1e8
children 3907:1e82c9b9db11
files prosody.cfg.lua.dist
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
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.