I have a ipynb
that I am trying to pre-process with nbformat.preprocessors
.
In the notebook, I have set up a logger with both a file-handler and stream-handler (the logs are printed both inside the notebook and separately in a log file).
pm.sample
's progress bar shows up in the ipynb
, but not in the log file (this is probably expected as I haven’t provided the logger’s information to the progress bar)
Does anyone know how I might be able to have the pm.sample
progress-bar show up in both the ipynb
and the log file?
Thanks
(I can make a MWE if needed)