-
Notifications
You must be signed in to change notification settings - Fork 36
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
Feature/SK-558 | Adds Python's logging framework to the client #484
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! If you merge in develop into this feature branch I think you will have some regular prints that you can replace with logging as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! Would love the same in the rest of the code base as well :-)
Adds logging using Python's logging framework to the client, instead of relying on print statements. Also fixes the option to log to file. You can set the verbosity like this:
fedn run client --init client.yaml --verbosity DEBUG
Default verbosity is INFO.