From 35731acd86d16ff81289a0eae87ceae59f16b91a Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Fri, 28 Mar 2025 22:11:12 +0100 Subject: [PATCH] Log current version on startup We recently got a bug report from someone running Limnoria in Docker, and it turned out that a plugin's import was segfaulting and Docker silently restarted the process. I wasted some time figuring out what happened because I didn't notice the process was being restarted. This should make this more noticeable in the future. --- src/scripts/limnoria.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/scripts/limnoria.py b/src/scripts/limnoria.py index 6eb1cbd6c..d8b006a2c 100644 --- a/src/scripts/limnoria.py +++ b/src/scripts/limnoria.py @@ -76,6 +76,9 @@ from supybot.version import version def run(): import supybot.log as log + + log.info("Starting Limnoria %s on Python %s", version, sys.version) + import supybot.conf as conf import supybot.world as world import supybot.drivers as drivers