aboutsummaryrefslogtreecommitdiffstats
path: root/prosody
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-05-31 17:01:22 +0200
committerKim Alvefur <zash@zash.se>2019-05-31 17:01:22 +0200
commit8ad384af08177fe49e1760128f19bacbef73b301 (patch)
tree3d273a2c7ac9c411f2e21118863246597a545c3f /prosody
parent02e5f2886c45a7fd24a0ac342bbd677a4aa034df (diff)
downloadprosody-8ad384af08177fe49e1760128f19bacbef73b301.tar.gz
prosody-8ad384af08177fe49e1760128f19bacbef73b301.zip
prosody: Log shutdown reason
Diffstat (limited to 'prosody')
-rwxr-xr-xprosody1
1 files changed, 1 insertions, 0 deletions
diff --git a/prosody b/prosody
index 204fb36d..f0061bf1 100755
--- a/prosody
+++ b/prosody
@@ -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");