How can I configure Groovy's Slf4j/Logback integration to forward only error-level alerts to a monitoring system while ignoring info and debug logs?
I am building a Groovy microservice that logs via Slf4j backed by Logback. The service ships logs to a central monitoring system that triggers alerts on any received message. Currently, every INFO and DEBUG log also creates an alert, flooding the channel and obscuring genuine problems. I need to keep the alerting mechanism active for real failures while supp