Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Log4j Configurations

 
Eddie Howard
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

--
 
It is difficult to free fools from the chains they revere - Voltaire. tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!