Relative Content

Tag Archive for pythontensorflowmachine-learninglogging

Tensorflow under the hood logger

I have to configure TensorFlow logs according to the project logging style (colorlogs, formatters, etc.). The project logging configuration is described in a .yaml file, which is then passed to the logging.dictConfig() method. The TensorFlow logger ‘tensorflow’, which can be retrieved by calling tf.get_logger() obeys the logging configuration settings (proven by the WARNING message called upon the performance of the callbacks). However, the under the hood TensorFlow logger is not configured using this method. By ‘under the hood’ I mean the logger (or other logging instance) called at the import stage, which logs useful stats: