Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! ✅Check out the new docs.

Suppressing component update output message in the terminal

Sorry if this is a duplicate but I couldn’t find any answers…

Any ideas how to stop the ‘dash-component-update’ output in the terminal?

Thanks,

This would be configured on the flask level. I haven’t tested this, but here’s a solution from SO: https://stackoverflow.com/a/18379764/4142536

In Dash, that example would look like:

import dash
from flask import Flask
import logging
server = Flask(__name__)
log = logging.getLogger('werkzeug')
log.setLevel(logging.ERROR)

app = dash.Dash(server=server)
1 Like