I have various modules logging information using various levels. I would like to implement a controller that would log the information only if the message follows certain pattern.
For example - Module A logger.info("log this message - A");
Module B logger.info("log this message - B");
Module C logger.info("don't log this message - C");
I cannot make changes to A and B to change their level as the number of modules talking to each other is huge.
I would like to have a logging.properties that would log all messages not having "don't log this messages*" pattern.
Can you assist me?