Open aguynamedryan opened 9 years ago
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
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.