Suppressing log messages with log4shib
Wessel, Keith
kwessel at illinois.edu
Fri Sep 3 20:56:17 UTC 2021
All,
I'm trying to suppress a couple of messages from the Shib SP logs in a containerized version of the SP that's behind a load balancer and that has the secure cookie settings set to values that generate warnings:
2021-09-03 14:58:19 WARN Shibboleth.Application : insecure cookieProps setting, set to "https" for SSL/TLS-only usage
2021-09-03 14:58:19 WARN Shibboleth.Application : handlerSSL should be enabled for SSL/TLS-enabled web sites
I looked at the source code and see definite support for filtering on the appender class, but I can't tell how it's configured in native.logger or shibd.logger. All I can figure out is how to suppress log messages by category. And Google didn't help, either.
Does log4ship support suppressing specific messages similar to the filtering function in logback and log4j? If so, what does that look like in the logger config?
Thanks,
Keith
More information about the users
mailing list