# HG changeset patch # User Kim Alvefur # Date 1338824247 -7200 # Node ID 6b3ee06d58379993550ed02bd91750cbfa27ce59 # Parent 5cc3b481d3e7b81e91fb29e92b09dee75cf4fae0 init.lua: Print outgoing stanzas and all log messages when debug logging enabled diff -r 5cc3b481d3e7 -r 6b3ee06d5837 init.lua --- a/init.lua Tue Feb 07 17:38:10 2012 +0100 +++ b/init.lua Mon Jun 04 17:37:27 2012 +0200 @@ -118,6 +118,8 @@ if config.debug then c:hook("incoming-raw", print); + c:hook("outgoing-raw", print); + verse.set_log_handler(print); end for _, plugin in ipairs(config.plugins or {}) do