Does anyone know how to send the standard tensorflow log mesages to a file (in addition to stdout)? I have my own logging, with a file handler, and I want to add the tensorflow output to the same file.
By log messages I mean stuff like this:
I tensorflow/core/common_runtime/gpu/pool_allocator.cc:244] PoolAllocator: After 14504 get requests, put_count=15013 evicted_count=5000 eviction_rate=0.333045 and unsatisfied allocation rate=0.332322
I tried getting python's root logger and adding a file handler, but it looks like these messages are not going through the standard python logging channels.
Thanks!