# HG changeset patch # User Kim Alvefur # Date 1623086128 -7200 # Node ID f6f28ceff53a302fa352ba798f3405e5218c5d7c # Parent bb8459c220c9cd34230d20fe4c6caa2dde948206 mod_smacks: Include timestamp in hibernation log message So that I will never have to wonder "how long? since when" ever again. diff -r bb8459c220c9 -r f6f28ceff53a mod_smacks/mod_smacks.lua --- a/mod_smacks/mod_smacks.lua Sat Jun 05 16:23:21 2021 +0100 +++ b/mod_smacks/mod_smacks.lua Mon Jun 07 19:15:28 2021 +0200 @@ -230,7 +230,7 @@ queue[#queue+1] = cached_stanza; if session.hibernating then - session.log("debug", "hibernating, stanza queued"); + session.log("debug", "hibernating since %s, stanza queued", datetime.datetime(session.hibernating)); module:fire_event("smacks-hibernation-stanza-queued", {origin = session, queue = queue, stanza = cached_stanza}); return nil; end