• 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 in JBOSS

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


I have 2 .ejb3 files A.ejb3 and B.ejb3, I am trying to log them in different files.
I placed log4j.xml file in each of them(Let me know if this is not the right way), log is still written according to the log4j.xml in conf/log4j.xml

Can anyone tell me how to configure the log4j.xml in regular .ejb3 file.
I read the logging page in JBOSS it tells about war file only.
In war files I could figure it out by placing in WEB-INF and calling a servlet.
 
reply
    Bookmark Topic Watch Topic
  • New Topic