how to change logging level of tensorboard?

170 views
Skip to first unread message

Peng Cheng

unread,
Jun 30, 2019, 6:46:12 PM6/30/19
to SIG TensorBoard
I can't find such option in the launching parameter of tensorboard. When I list all the flags what I found was like this:

    logdir      --> .tensorboard/log_2019-06-30_18-33-18_952122
    host      --> 
    port      --> None
    purge_orphaned_data      --> True
    reload_interval      --> 5.0
    db      --> 
    db_import      --> False
    db_import_use_op      --> False
    inspect      --> False
    version_tb      --> False
    tag      --> 
    event_file      --> 
    path_prefix      --> 
    window_title      --> 
    max_reload_threads      --> 1
    reload_task      --> auto
    samples_per_plugin      --> 
    debugger_data_server_grpc_port      --> -1
    debugger_port      --> -1
    master_tpu_unsecure_channel      --> 

In operation it has logging level set to "WARNING" & log message directly printed out on stdout, as a result I saw a lot of unnecessary messages when writing complex models, like this:

I0630 18:33:19.152284 140581946894080 _internal.py:122] ::ffff:127.0.0.1 - - [30/Jun/2019 18:33:19] "GET / HTTP/1.1" 200 -
I0630 18:33:19.335198 140581946894080 _internal.py:122] ::ffff:127.0.0.1 - - [30/Jun/2019 18:33:19] "GET /font-roboto/oMMgfZMQthOryQo9n22dcuvvDin1pK8aKteLpeZ5c0A.woff2 HTTP/1.1" 200 -
I0630 18:33:20.419392 140581806262016 _internal.py:122] ::ffff:127.0.0.1 - - [30/Jun/2019 18:33:20] "GET /data/plugins_listing HTTP/1.1" 200 -
I0630 18:33:20.422904 140581212772096 _internal.py:122] ::ffff:127.0.0.1 - - [30/Jun/2019 18:33:20] "GET /data/environment HTTP/1.1" 200 -
I0630 18:33:20.424074 140581221164800 _internal.py:122] ::ffff:127.0.0.1 - - [30/Jun/2019 18:33:20] "GET /data/runs HTTP/1.1" 200 -
I0630 18:33:20.428111 140581204379392 _internal.py:122] ::ffff:127.0.0.1 - - [30/Jun/2019 18:33:20] "GET /data/experiments HTTP/1.1" 200 -
I0630 18:33:20.490971 140581204379392 _internal.py:122] ::ffff:127.0.0.1 - - [30/Jun/2019 18:33:20] "GET /font-roboto/RxZJdnzeo3R5zSexge8UUZBw1xU1rKptJj_0jans920.woff2 HTTP/1.1" 200 -
I0630 18:33:20.519970 140581204379392 _internal.py:122] ::ffff:127.0.0.1 - - [30/Jun/2019 18:33:20] "GET /data/plugins_listing HTTP/1.1" 200 -
I0630 18:33:20.522117 140581221164800 _internal.py:122] ::ffff:127.0.0.1 - - [30/Jun/2019 18:33:20] "GET /data/environment HTTP/1.1" 200 -
I0630 18:33:20.531321 140581212772096 _internal.py:122] ::ffff:127.0.0.1 - - [30/Jun/2019 18:33:20] "GET /data/runs HTTP/1.1" 200 -
I0630 18:33:20.533931 140581221164800 _internal.py:122] ::ffff:127.0.0.1 - - [30/Jun/2019 18:33:20] "GET /data/experiments HTTP/1.1" 200 -
I0630 18:33:20.709606 140581221164800 _internal.py:122] ::ffff:127.0.0.1 - - [30/Jun/2019 18:33:20] "GET /font-roboto/d-6IYplOFocCacKzxwXSOJBw1xU1rKptJj_0jans920.woff2 HTTP/1.1" 200 -

How do I get rid of them?

Stephan Lee

unread,
Jul 1, 2019, 11:03:58 AM7/1/19
to SIG TensorBoard
Hi Peng,

First, in the future, I'd recommend posting this type of issue on Github.

This issue seems to be related to https://github.com/tensorflow/tensorboard/issues/2028 which is addressed at HEAD (and tb-nightly).
Can you install, if you can, tb-nightly and see if this addresses your issue? 

- Stephan
Reply all
Reply to author
Forward
0 new messages