Question

Logging in python

  • 13 April 2022
  • 0 replies
  • 20 views

Userlevel 3
Badge +1
  • Active Contributor
  • 5 replies

I’m having some trouble printing the logger in jupyter. I tried

import logging
from orion.utils.logging import IO_LOG
IO_LOG.setLevel(logging.DEBUG)

logging.basicConfig(stream=sys.stdout, level=logging.DEBUG)

and

logging.basicConfig(filename='example.log', filemode='w', level=logging.DEBUG)

but I don’t get anything!


0 replies

Be the first to reply!

Reply