I use tensorflow 1.2.0 installed with pip install.
When I run samples that include
import logging
tf.logging.set_verbosity(tf.logging.INFO)
the logging messages of the form
logging.info('TEST')
do not appear in the terminal output, even with the flag --tostderr.
According to this answer I also tried
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '0'
but still the problem persists. Any ideas?