pastas / pastastore

:spaghetti: :convenience_store: Tools for managing timeseries and Pastas models

Home Page:https://pastastore.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pastastore sets log-level of Pastas to Error

rubencalje opened this issue · comments

Not sure if this is intended behavior, but Paststore sets the log-level to Error, on importing pastastore (in yaml_interface.py).

Maybe it is better to remove these two logger-lines from yaml_interface.py:

ps.logger.setLevel("ERROR")

logging.basicConfig(level="INFO")

What do you think @dbrakenhoff ?

This was probably somewhat intentional, because I wanted the YAML logging to be uninterrupted by other modules, but doing so by silencing pastas entirely when importing pastastore was probably not what I had in mind.

Thanks!