A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Other Open Source Projects
Custom Levels in Log4j
Joined: May 21, 2005
Dec 07, 2006 21:50:00
I created one custom level. I want to know how to pass it in the log4j-config.properites file.
Thanks in Advance
Joined: Jul 20, 2005
Dec 07, 2006 22:22:00
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
Joined: Oct 10, 2000
Dec 08, 2006 08:33:00
after the custom level name include the "#" sign followed by the fully qualified name of the class.
Prior discussion on this topic
I agree. Here's the link:
- it saves me about five hours per week
subject: Custom Levels in Log4j
How to seperate new line with log4j?
Adding Date & time Stamp in Log file name
Connection reset by peer: socket write error
Debugging Best Practices??
how to log errors occurred in backend java engine or servlet
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013