Closed rashisht1 closed 1 month ago
I believe that the log messages should show up in your terminal if you add logger = logging.getLogger(); logger.setLevel(logging.DEBUG)
at the beginning of a Python file you're running -- at least it works for me. If you're using a notebook, that may be trickier, as it appears that different IPython versions handle logging differently. If you still can't get it working, can you share a reproducible example of code that you believe should generate these logs, as well as the BoTorch version, Python version, and (if applicable) IPython version you're using?
As an aside, it took me way too long to figure out how to get the logs to show up myself, and I presume many of our users are using IPython notebooks, making this additionally difficult. We might consider getting rid of the logging.
Question: How can I see the
logging.DEBUG
logs infit.py
for example here ? It seems that file useslogging
module directly instead of thelogger
object frombotorch.logging
--- is this a bug ?