This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
I don't know of a built-in regex filter, but there's a string matching filter that might be a good starting point.
I've never needed to filter on anything other than log levels, what's your use-case?
Joined: Jan 11, 2007
Well the application has some confidential data which it is printing in loggers right now. Though the confidential data is getting printed only in debug mode right now but the my requirement is to not to print that piece of data anytime in any logging mode.
Unfortunately I can not go and remove those loggers from the Java classes as there are too many of them and some are even inside jar for which I don't have the source code. Can you please guide me on how to use the String filters you are talking about. I'll see if can use that to satisfy my requirement