-
In general I really like the print statements (from engine._show_progress = False This prohibits the print statement of the sampling progress. But I'm currently not aware on how to disable the other print statements (or catch them). Happy to receive some input on that. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @Seb-Lorek, really nice to see you regularly contributing here 👍 Since we use Python's Consider the following example: There are five different logging levels. Most of the verbose feedback from liesel can be silenced by setting the logging level to "warning", as in the example above. You can even control the behavior for the logging messages issued by individual submodules, if you replace the Here's the docs of the |
Beta Was this translation helpful? Give feedback.
Hi @Seb-Lorek, really nice to see you regularly contributing here 👍
Since we use Python's
logging
module, I think your desired behavior can be achieved by adjusting the log level.Consider the following example:
There are five different logging levels. Most of the verbose feedback from liesel can be silenced by setting the logging level to "warning", as in the example above. You can even control the behavior for the logging messages issued by individual submodules, if you replace the
logger = logging.getLogger("liesel")
above for example with the more specificlogger = logging.getLogger("liesel.model.model")
. For the sampling messages issued by goose, you might want to set the log level …