prosody: Don't add a datamanager callback when anonymous_login=true (mod_auth_anonymo...
[prosody.git] / prosody.cfg.lua.dist
index e4afce5bffc204da05e38eda9acbacdffa6a29e1..3134acb6d29cb2be7928289b5b561282213e6016 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.
@@ -127,5 +130,10 @@ VirtualHost "example.com"
 --Component "proxy.example.com" "proxy65"
 
 ---Set up an external component (default component port is 5347)
+--
+-- External components allow adding various services, such as gateways/
+-- transports to other networks like ICQ, MSN and Yahoo. For more info
+-- see: http://prosody.im/doc/components#adding_an_external_component
+--
 --Component "gateway.example.com"
 --     component_secret = "password"