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 idiomatic logging for Python #8

Open
aguynamedryan opened this issue Jun 3, 2015 · 1 comment
Open

Use idiomatic logging for Python #8

aguynamedryan opened this issue Jun 3, 2015 · 1 comment

Comments

@aguynamedryan
Copy link
Contributor

The original author used print statements to log the progress of the ETL and is hoping that someone else can replace that approach with whatever Python uses as a standard for generating logs.

@chendaniely
Copy link

This is fairly trivial if we are doing everything within the same module. We can replace the print statements a logging class [1] , the basic tutorial [2] is pretty good to get things started

[1] https://docs.python.org/2/library/logging.html
[2] https://docs.python.org/2/howto/logging.html#logging-basic-tutorial

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

No branches or pull requests

2 participants