wood burning stoves 2.0*
The moose likes Java in General and the fly likes Log4j Configurations Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Log4j Configurations" Watch "Log4j Configurations" New topic
Author

Log4j Configurations

Eddie Howard
Greenhorn

Joined: Jul 27, 2006
Posts: 14
Hi

Hopefully someone can help me.

I want to configure log4j from a properties file.

I am writing a little java 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: http://aspose.com/file-tools
 
subject: Log4j Configurations
 
Similar Threads
log4j error message - please send solutions
configure log4j property file using commons logging
Log4j Help.....
Log4J Help..............
prob in JBoss and log4j