Cairo-Dock/scripts

debug logging script

Opened this issue · 2 comments

a script that a launcher or .desktop file could call that would enable debug logging:

#!/bin/bash

cairo-dock -l debug > /var/log/cairo-dock.log

even better use python to enable log management. Be nice if it could be a standalone script.

Hello and thank you for this bug report!

But I'm not sure to understand it: is it a question, a feature request or a bug report?

Note that you can change the Exec entry of Cairo-Dock's launcher to use this command:

cairo-dock -l debug > /var/log/cairo-dock.log

feature request.

yep this does work, but I was thinking of improving the logged results, namely a timestamp and a format that can be parsed by a log server such as loggly, would help greatly with debugging.

A script that could parse the logs through python
My thinking was a script that would parse flags to interact with the logger and allow me to run something like:

cairo-dock -l debug > /usr/bin/cairo-logger.py