I have the following layout in my log4j xml file:
"%d{ISO8601} %c %p [%t] [%x] 9.5.4.RC12 %m%n"
I want to ever receive a log containing the message process [proc#] completed , it should be skipped. I mean that every journal, except those that contain this message, must be printed. [proc#] will contain the process number of the maximum length 4. What can I create a filter with this function in my xml configuration file. If so, how?
pattern-matching log4j
Tariq
source share