Changeset

3924:aea9d6c60b04

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
parents 3923:f95375aceed0
children 3925:65c666d18096
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.