From 71d5a8a228d6f9633b6cdec8df92c8519653e937 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 7 Jan 2011 05:08:09 +0000 Subject: prosody.cfg.lua: Add mod_offline to the list of modules that can be disabled, and add comments for all auto-loaded modules --- prosody.cfg.lua.dist | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/prosody.cfg.lua.dist b/prosody.cfg.lua.dist index 41850537..c8d0bcda 100644 --- a/prosody.cfg.lua.dist +++ b/prosody.cfg.lua.dist @@ -73,9 +73,10 @@ modules_enabled = { -- (for some mad reason) want to disable -- them then uncomment them below modules_disabled = { - -- "presence"; - -- "message"; - -- "iq"; + -- "presence"; -- Route user/contact status information + -- "message"; -- Route messages + -- "iq"; -- Route info queries + -- "offline"; -- Store offline messages }; -- Disable account creation by default, for security -- cgit v1.2.3 From 2cd0af1aa6094f0e9623f4021c05c94a43fa5fb7 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 7 Jan 2011 05:09:25 +0000 Subject: prosody.cfg.lua: Improve comment about enabling debug logging --- prosody.cfg.lua.dist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prosody.cfg.lua.dist b/prosody.cfg.lua.dist index c8d0bcda..25b6edf1 100644 --- a/prosody.cfg.lua.dist +++ b/prosody.cfg.lua.dist @@ -114,7 +114,7 @@ ssl = { -- Logging configuration -- For advanced logging see http://prosody.im/doc/logging log = { - info = "prosody.log"; -- Change info to debug for verbose logging + info = "prosody.log"; -- Change 'info' to 'debug' for verbose logging error = "prosody.err"; -- "*syslog"; -- Uncomment this for logging to syslog } -- cgit v1.2.3 From f12a844d966fd910f024f450eb6332d0a9a7ec26 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 7 Jan 2011 05:11:00 +0000 Subject: prosody.cfg.lua: Give example for logging to console --- prosody.cfg.lua.dist | 1 + 1 file changed, 1 insertion(+) diff --git a/prosody.cfg.lua.dist b/prosody.cfg.lua.dist index 25b6edf1..d1bd7d67 100644 --- a/prosody.cfg.lua.dist +++ b/prosody.cfg.lua.dist @@ -117,6 +117,7 @@ log = { info = "prosody.log"; -- Change 'info' to 'debug' for verbose logging error = "prosody.err"; -- "*syslog"; -- Uncomment this for logging to syslog + -- "*console"; -- Log to the console, useful for debugging with daemonize=false } ----------- Virtual hosts ----------- -- cgit v1.2.3