| Author |
Custom Levels in Log4j
|
Sudhakar Rao
Ranch Hand
Joined: May 21, 2005
Posts: 36
|
|
Hi, I created one custom level. I want to know how to pass it in the log4j-config.properites file. Thanks in Advance Sudhakar
|
 |
Jaikiran Pai
Marshal
Joined: Jul 20, 2005
Posts: 8147
|
|
|
I am not sure how will mention it in log4j.properties but i was able to get it working with log4j.xml as mentioned Create your own logging level in log4j
|
[My Blog] [JavaRanch Journal]
|
 |
Carol Enderlin
drifter
Ranch Hand
Joined: Oct 10, 2000
Posts: 1348
|
|
after the custom level name include the "#" sign followed by the fully qualified name of the class. See Prior discussion on this topic.
|
 |
 |
|
|
subject: Custom Levels in Log4j
|
|
|