# HG changeset patch # User Kim Alvefur # Date 1559321413 -7200 # Node ID c8f16fd2a5e3a82a07fff8e13905a129a44eeb96 # Parent e8153d49caaa3061efcc78535658d22308df057b prosody: Log shutdown reason (in past tense) as the very last thing diff -r e8153d49caaa -r c8f16fd2a5e3 prosody --- a/prosody Fri May 31 17:01:22 2019 +0200 +++ b/prosody Fri May 31 18:50:13 2019 +0200 @@ -90,9 +90,9 @@ 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"); +prosody.log("debug", "Shutdown reason was: %s", prosody.shutdown_reason or "not specified"); os.exit(prosody.shutdown_code);