Hide server INFO logs

This commit is contained in:
usov_i 2022-12-09 13:56:42 +01:00
parent 45b091f90b
commit 3c127b7f00

View File

@ -25,6 +25,7 @@ bokeh_stream = StringIO()
bokeh_handler = logging.StreamHandler(bokeh_stream) bokeh_handler = logging.StreamHandler(bokeh_stream)
bokeh_handler.setFormatter(logging.Formatter(logging.BASIC_FORMAT)) bokeh_handler.setFormatter(logging.Formatter(logging.BASIC_FORMAT))
bokeh_logger = logging.getLogger("bokeh") bokeh_logger = logging.getLogger("bokeh")
bokeh_logger.setLevel(logging.WARNING)
bokeh_logger.addHandler(bokeh_handler) bokeh_logger.addHandler(bokeh_handler)
bokeh_log_textareainput = TextAreaInput(title="server output:", height=150) bokeh_log_textareainput = TextAreaInput(title="server output:", height=150)