# HG changeset patch # User Kim Alvefur # Date 1684083661 -7200 # Node ID 8c786880e28d7ca94cfc5e6b47ef37c5cff2935a # Parent 42c2a97872425c47cd7e9f40ba500017d4a0dfa4 mod_admin_shell: Allow logging global events with debug:logevents("*") Missing feature. It should behave like debug:events() diff -r 42c2a9787242 -r 8c786880e28d plugins/mod_admin_shell.lua --- a/plugins/mod_admin_shell.lua Sun May 14 18:48:20 2023 +0200 +++ b/plugins/mod_admin_shell.lua Sun May 14 19:01:01 2023 +0200 @@ -1927,7 +1927,11 @@ def_env.debug = {}; function def_env.debug:logevents(host) - helpers.log_host_events(host); + if host == "*" then + helpers.log_events(prosody.events); + else + helpers.log_host_events(host); + end return true; end