• 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

jboss eap 6.1 - Log4j's configureAndWatch method not working

 
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear All,

My requirement is I need to change the LOG level at RUNTIME WITHOUT restarting jboss eap 6.1 server.

Below code is working when I run as a standalone application. But the same code is NOT working in JBOSS.

Client code:



LoggerManager.java



Please help me on this.
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Based on that code it's very hard to say what might be wrong. You'll have to trim that code down to just the part which does the configuring and watching to be able to narrow it down. What exact log file path is being monitored in that code? Where exactly is that logging configuration file located on the server?
 
rajareddya reddy
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Jai Kiran,

I am trying to use jboss eap 6.1 's log4j also.

Please help me what are the steps i need to follow.
 
reply
    Bookmark Topic Watch Topic
  • New Topic