Hi all!

For a long time, tool developers have had the option to log their actions to a tool-specific server admin log (SAL), by sending messages like !log tools.toolname text to #wikimedia-cloud. This lets you and others keep track of which changes were made at what time, in case a problem is discovered later. However, to log messages you need to be on IRC, which can be inconvenient or even impossible on weak internet connections (I sometimes work on tools on the train, where the connection is just good enough for mosh but not really for IRC).

Instead, you can now use the dologmsg command, which was implemented at the Wikimedia Hackathon in Prague (T222244). Call it with your message as the argument(s), and it will relay it to #wikimedia-cloud through wm-bot, automatically including the tool name and the real user name of the caller. For example, when I ran the command

dologmsg 'deployed 83d01bb93b (background UI improvements)'

the following entry was added to the QuickCategories SAL:

09:37 wm-bot: <lucaswerkmeister> deployed 83d01bb93b (background UI improvements)

You can also watch this in action in a demo screencast. Of course, you can still log directly to #wikimedia-cloud, but I hope that doing it from the same shell where you also do your work will be more convenient :)

Cheers,
Lucas

--
Lucas Werkmeister
Full Stack Developer

Wikimedia Deutschland e. V. | Tempelhofer Ufer 23-24 | 10963 Berlin
Phone: +49 (0)30 219 158 26-0
https://wikimedia.de

Imagine a world in which every single human being can freely share in the sum of all knowledge. Help us to achieve our vision!
https://spenden.wikimedia.de

Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e. V. Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter der Nummer 23855 B. Als gemeinnützig anerkannt durch das Finanzamt für Körperschaften I Berlin, Steuernummer 27/029/42207.