Howto configure Jupyter Notebook to log time and date in console?

时间:2019-01-07 14:05:45

标签: python jupyter-notebook

With the current Jupyter notebook the logging information goes to the console and is shown for example like this:

[I 14:46:03.466 NotebookApp] Saving [...]
[W 14:46:03.468 NotebookApp] 500 PUT /api/co [...]

For longer running processes this format is not ideal because it does not contain the date. The Jupyter documentation states that the default logging format should be

Default: '%Y-%m-%d %H:%M:%S'

if no other configuration is used but this does not seem to be the case or am I missing something?

0 个答案:

没有答案