prosody.cfg.lua.dist: Update for new logging config format

Tue, 21 Dec 2010 01:30:27 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Tue, 21 Dec 2010 01:30:27 +0000
changeset 3924
aea9d6c60b04
parent 3923
f95375aceed0
child 3925
65c666d18096

prosody.cfg.lua.dist: Update for new logging config format

prosody.cfg.lua.dist file | annotate | diff | comparison | revisions
--- 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.

mercurial