1👍
Don’t log from inside logging code, which is what a Filter
essentially is – it’s called from inside the logging machinery. Logging is designed for logging from applications and libraries, but not for logging what’s happening inside logging. I’m not saying it won’t ever work, but it’s not good practice. There’s not enough information to be able to answer your question – for example, your logging configuration is not given, so there’s no way of telling why your LOG.xxx doesn’t produce any output.
Source:stackexchange.com