Results 1 to 2 of 2
Thread: Log4j Level question
- 02-08-2011, 03:29 PM #1
Member
- Join Date
- Feb 2011
- Posts
- 2
- Rep Power
- 0
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.
- 02-08-2011, 03:38 PM #2
Member
- Join Date
- Feb 2011
- Posts
- 2
- Rep Power
- 0
Similar Threads
-
log4j RollingFileAppender question
By vasanthj in forum Advanced JavaReplies: 2Last Post: 01-12-2011, 04:38 PM -
log4j RollingFileAppender question
By vasanthj in forum Advanced JavaReplies: 0Last Post: 12-07-2010, 08:07 PM -
Log4J Question <moved>
By razorSpirit in forum New To JavaReplies: 2Last Post: 10-13-2010, 10:33 PM -
Accessing a JTextArea after creation (Intro level question)
By jferrara in forum AWT / SwingReplies: 5Last Post: 08-22-2010, 09:04 PM -
How to disable one particular Log.Level in log4j
By bhupal4all in forum Advanced JavaReplies: 0Last Post: 11-25-2008, 07:43 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks