• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Log4j Configurations

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

--
 
reply
    Bookmark Topic Watch Topic
  • New Topic