Disable DEBUG logging - only for rocketry #209
-
Hi, is there a possiblity to disable the logging (level=DEBUG) specifically for rocketry. Cheers |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Anyone? @Miksus :) |
Beta Was this translation helpful? Give feedback.
-
@psetzermann Example:
output:
The above ignores the spammy log message you're talking about. If you just wanted to ignore that single log message without changing the logging level of the rocketry.scheduler logger, I imagine there could probably be some way to use a logging filter. Cheers, |
Beta Was this translation helpful? Give feedback.
@psetzermann
This shouldn't be too tricky to do, it would just require a bit of manipulation of the logging module.
Specifically you would just need to change the logging level on the rocketry logger before running your scheduled tasks.
Example:
output: