Python Bokeh Logger

Viewed 1099

How do you access the python Bokeh logger?

I tried using the basicConfig wrapper but it does not seem to work.

from bokeh.util import logconfig
logconfig.basicConfig(level=logging.DEBUG, filename="output.log")

Anyone had luck redirecting the server logs to a file?

I also tried creating another standard logger without using Bokeh (e.g. with logging module), but it does not work either.

Using Bokeh 0.12.6 (latest)

1 Answers

This was resolved in 7755 which added a --log-file command line option to bokeh serve. You will need to update to version 0.12.16 or later.

Related