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 | 8ad384af08177fe49e1760128f19bacbef73b301 (patch) | |
tree | 3d273a2c7ac9c411f2e21118863246597a545c3f /prosody | |
parent | 02e5f2886c45a7fd24a0ac342bbd677a4aa034df (diff) | |
download | prosody-8ad384af08177fe49e1760128f19bacbef73b301.tar.gz prosody-8ad384af08177fe49e1760128f19bacbef73b301.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"); |