Open jimfrimel opened 7 years ago
We should also remove cur_filename because the logger outputs this information as well. It outputs the line number as well, so we really should remove cur_funtion since the line number should be enough information to track down an issue.
For example,
self.logger.info("INFO |[" + cur_function + ":" + cur_filename + "]" "| Finished extract tiles")
"INFO" should be present in the logger output line without having to specify it in the statement.
We should be able to do this ...
self.logger.info("[ + cur_function + ":" + cur_filename + "]" "| Finished extract tiles")
I'm pretty sure the log level and even the filename ... should be handled automatically by the produtil logging package ...
Revisit how we are setting up the handler in met_util.py ..