diff options
author | Kim Alvefur <zash@zash.se> | 2019-05-31 17:01:22 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-05-31 17:01:22 +0200 |
commit | 4c7de2595bc229710b3985f96bea96a25c053300 (patch) | |
tree | 3d273a2c7ac9c411f2e21118863246597a545c3f /prosody | |
parent | 3eae084852f01a9ba0c99daf063a17435ee87995 (diff) | |
download | prosody-4c7de2595bc229710b3985f96bea96a25c053300.tar.gz prosody-4c7de2595bc229710b3985f96bea96a25c053300.zip |
prosody: Log shutdown reason
Diffstat (limited to 'prosody')
-rwxr-xr-x | prosody | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -90,6 +90,7 @@ end loop(); prosody.log("info", "Shutting down..."); +prosody.log("debug", "Shutdown reason is: %s", prosody.shutdown_reason or "not specified"); cleanup(); prosody.events.fire_event("server-stopped"); prosody.log("info", "Shutdown complete"); |