Register / Login
File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Java in General
posted 8 years ago
Hopefully someone can help me.
I want to configure log4j from a properties file.
I am writing a little
application. I have several log4j appenders and everything works well. However I want the option to exit application if ANY of log4j configuration fails.
By default I am seeing a warning message from Log4j but application continues to run...
Do you know of a property to set for log4j that application exits if log4j properties are not not correct?
OR should I attempt this programmicatally.
The men of Ireland were hurling when the gods of Greece were young
I agree. Here's the link:
log4j error message - please send solutions
prob in JBoss and log4j
configure log4j property file using commons logging