Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debug logging script #1

Open
daithi-coombes opened this issue Dec 1, 2014 · 2 comments
Open

debug logging script #1

daithi-coombes opened this issue Dec 1, 2014 · 2 comments

Comments

@daithi-coombes
Copy link

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.

@matttbe
Copy link
Member

matttbe commented Dec 10, 2014

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

@daithi-coombes
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants