Jupyter does not print logging information

I’m using the notebook via JupyterHub, the same script can show logging information (import logging) as well as warnings in the command line, however, in the notebook, only the warning is shown. The logging information is not printed, and not saved in the designated .txt file either.

Note: the notebook once showed the loggings, but not sure why it doesn’t work now.

Thank you!