What happened?
Hello,
I have tried to remove the info logs for some of the functions but I can´t find a way! How do you turn of logging?
What are the steps to reproduce the bug?
Example:
fs = mv.Fieldset(path=paths)
vals_for_point = mv.nearest_gridpoint(fs, [lat, lon])
I have even tried:
import logging
import metview
logger = logging.getLogger(__name__)
logger.setLevel(logging.ERROR)
logging.getLogger("metview").setLevel(logging.ERROR)
for logger in logging.root.manager.loggerDict:
logging.getLogger(logger).setLevel(logging.ERROR)
To silence all modules with no luck. I'm using Python 3.11.14
Version
5.26.2
Platform (OS and architecture)
6.17.1-300.Linux fc43.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Oct 6 15:37:21 UTC 2025 x86_64 GNU/Linux
Relevant log output
Produces (several times):
Python - INFO - 20260127.130920 - Using computed lon grid interval 0.250125 (instead of 0.25)
Python - INFO - 20260127.130920 - Using computed lat grid interval 0.2502 (instead of 0.25)
Accompanying data
No response
Organisation
No response
What happened?
Hello,
I have tried to remove the info logs for some of the functions but I can´t find a way! How do you turn of logging?
What are the steps to reproduce the bug?
Example:
I have even tried:
To silence all modules with no luck. I'm using Python 3.11.14
Version
5.26.2
Platform (OS and architecture)
6.17.1-300.Linux fc43.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Oct 6 15:37:21 UTC 2025 x86_64 GNU/Linux
Relevant log output
Accompanying data
No response
Organisation
No response