I'm trying to make a custom logging filter, as described here:
(or almost as described here, the filter is actually used to customize the logging output, and add fields ala log4js MDC)
I've put the logging filter classes in a separate jar, and put this jar in a globalLibraryRef in the classloader for my application (along with some commons-logging and slf4j jars). When I debug my application, I can see that the filter is set in the rootHandler (this is done in a servlet filter), but the isLoggable-method in the filter is never called.
The same code is working in WAS Full Profile, so I'm wondinger what I'm doing wrong. Is it something about the classloading in Liberty that interferes?