class_docstr: Implementation of TensorBoardServer using the Werkzeug dev server.
class_docstr_tok: ["Implementation","of","TensorBoardServer","using","the","Werkzeug","dev","server","."]
docstr: Fix werkzeug logging setup so it inherits TensorBoard's log level.
  
  This addresses a change in werkzeug 0.15.0+ [1] that causes it set its own
  log level to INFO regardless of the root logger configuration. We instead
  want werkzeug to inherit TensorBoard's root logger log level (set via absl
  to WARNING by default).
  
  [1]: https://github.com/pallets/werkzeug/commit/4cf77d25858ff46ac7e9d64ade054bf05b41ce12
docstr_tok: ["Fix","werkzeug","logging","setup","so","it","inherits","TensorBoard","'s","log","level",".","This","addresses","a","change","in","werkzeug","0.15.0+","[","1","]","that","causes","it","set","its","own","log","level","to","INFO","regardless","of","the","root","logger","configuration",".","We","instead","want","werkzeug","to","inherit","TensorBoard","'s","root","logger","log","level","(","set","via","absl","to","WARNING","by","default",")",".","[","1","]",":","https",":","\/\/github.com\/pallets\/werkzeug\/commit\/4cf77d25858ff46ac7e9d64ade054bf05b41ce12"]
code: def _fix_werkzeug_logging(self):
      """Fix werkzeug logging setup so it inherits TensorBoard's log level.
  
      This addresses a change in werkzeug 0.15.0+ [1] that causes it set its own
      log level to INFO regardless of the root logger configuration. We instead
      want werkzeug to inherit TensorBoard's root logger log level (set via absl
      to WARNING by default).
  
      [1]: https://github.com/pallets/werkzeug/commit/4cf77d25858ff46ac7e9d64ade054bf05b41ce12
      """
      # Log once at DEBUG to force werkzeug to initialize its singleton logger,
      # which sets the logger level to INFO it if is unset, and then access that
      # object via logging.getLogger('werkzeug') to durably revert the level to
      # unset (and thus make messages logged to it inherit the root logger level).
      self.log(
          "debug",
          "Fixing werkzeug logger to inherit TensorBoard log level",
      )
      logging.getLogger("werkzeug").setLevel(logging.NOTSET)
  
imports: from abc import ABCMeta
  from abc import abstractmethod
  import argparse
  import atexit
  from collections import defaultdict
  import errno
  import logging
  import mimetypes
  import os
  import shlex
  import signal
  import socket
  import sys
  import threading
  import time
  import urllib.parse
  from absl import flags
  from absl.flags import argparse_flags
  from werkzeug import serving
  from tensorboard import manager
  from tensorboard import version
  from tensorboard.backend import application
  from tensorboard.backend.event_processing import data_ingester
  from tensorboard.backend.event_processing import event_file_inspector
  from tensorboard.data import server_ingester
  from tensorboard.plugins.core import core_plugin
  from tensorboard.util import tb_logging
label_desc: Use image node_id 7 for calling the WerkzeugServer obj's underlying member method code with example usage: obj._fix_werkzeug_logging() without return types