Open parmentelat opened 4 years ago
Oh I know exactly when it will have happened; when I added https://github.com/ExecutableBookProject/markdown-it-py to jupytext 😉.
Hmm, thats weird; the logger is already set up to only log INFO
: https://github.com/chrisjsewell/ipypublish/blob/53fa92c4c7f18e36d8a9790b10de27219882f4e4/ipypublish/convert/main.py#L297
But perhaps these are getting through because the root logger is set to DEBUG
(this should not be propagated though): https://github.com/chrisjsewell/ipypublish/blob/53fa92c4c7f18e36d8a9790b10de27219882f4e4/ipypublish/convert/main.py#L292
Its weird that this hasn't been an issue for any other package; I'm not doing anything crazy in markdown-it-py
, just:
import logging
LOGGER = logging.getLogger(__name__)
LOGGER.debug("entering hr: %s, %s, %s, %s", state, startLine, endLine, silent)
this is a question, so neither a bug report nor a feature request
I'm using ipypublish together with jupytext in the context of readthedocs
right now I am getting tons of very low-level DEBUG messages in the rtd Build details a sample full build report is https://readthedocs.org/projects/ue12-python-numerique/builds/11855478/ as I suspect you may have no access - here's a short sample
and it goes on like that for miles ..
I can't remember exactly when this started to happen, probably a couple months back and sorry for being so dumb, but I can't either remember whether I did something specific to get these messages (and it might be so, when the build is broken it helps to pinpoint the problem); I did scrub my repo and came up with nothing, but I can't be positive that I have nothing to do with this
regardless, my question is simple, how can I set the logging level to INFO and up, so as to get more reasonable build logs ?
thanks !