-
Log4j Level question
I wasn't sure if this was more appropriate for New to Java or Advanced Java, but here goes:
Is there any easy way to change the name of a Level or how the level displays in the log file?
Ex. Changing ERROR to something like XERROR.
25063 2011-02-08 00:30:27,847 ERROR Logging info
to
25063 2011-02-08 00:30:27,847 XERROR Logging info
I ask this because we currently log information for a lot of files, many of which have "error" in their name, making searches for actual errors difficult for our client.
-
So I just told the client to use a case sensitive search of ERROR since none of the logged information is all caps.
This is no longer really an issue, but if anybody is bored and wants to chime in to appease my curiosity (and answer this question for any user later on), feel free.