prosody.cfg.lua.dist: Update for new logging config format
authorMatthew Wild <mwild1@gmail.com>
Tue, 21 Dec 2010 01:30:27 +0000 (01:30 +0000)
committerMatthew Wild <mwild1@gmail.com>
Tue, 21 Dec 2010 01:30:27 +0000 (01:30 +0000)
prosody.cfg.lua.dist

index e4afce5bffc204da05e38eda9acbacdffa6a29e1..5cfea17ff8262b3d4d5fb345f1f841c331fa9484 100644 (file)
@@ -94,8 +94,11 @@ ssl = {
 
 -- 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.