summaryrefslogtreecommitdiff
path: root/files/prosody.cfg.lua.j2
diff options
context:
space:
mode:
Diffstat (limited to 'files/prosody.cfg.lua.j2')
-rw-r--r--files/prosody.cfg.lua.j24
1 files changed, 4 insertions, 0 deletions
diff --git a/files/prosody.cfg.lua.j2 b/files/prosody.cfg.lua.j2
index b107536..d56381c 100644
--- a/files/prosody.cfg.lua.j2
+++ b/files/prosody.cfg.lua.j2
@@ -30,6 +30,7 @@ modules_enabled = {
"saslauth";
"server_contact_info";
"smacks";
+ "stanza_debug";
"time";
"tls";
"uptime";
@@ -43,6 +44,9 @@ modules_disabled = { }
pidfile = "/run/prosody/prosody.pid";
log = {
+{% if debug_logging %}
+ debug = "/var/log/prosody/prosody.debug";
+{% endif %}
info = "/var/log/prosody/prosody.log";
error = "/var/log/prosody/prosody.err";
{ levels = { "error" }; to = "syslog"; };