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

Use logging lib for messages #50

Open
Ernest0x opened this issue Mar 6, 2014 · 1 comment
Open

Use logging lib for messages #50

Ernest0x opened this issue Mar 6, 2014 · 1 comment

Comments

@Ernest0x
Copy link
Contributor

Ernest0x commented Mar 6, 2014

Instead of just calling print() to print messages, I would suggest to use the logging library for better logging capabilities, such as different logging levels (info, warning, error, debug), timestamps, log to syslog or other handlers, etc. For start, a simple handler to write to sys.stdout can be implemented.

What do you think?

@ThomasWaldmann
Copy link
Contributor

Esp. for RemoteRepository debugging this could be useful.

Sometimes stuff behaves strangely, but only if it is remote. Tracebacks are not visible.

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