• 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

RAD7 - Trying to get log4j to work

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Websphere development environment: Version: 7.0.0.8

Problem: RAD7 is using its own logging and tracing defined in the "troubleshooting>logs and trace" of the admin console and the log4j.properties is being ignored by the logger.

Problem statements:
1. log4j.1.2.8 is on the classpath of my war module, and set on the j2ee module dependency.
2. log4j.properties is kept in a configuration folder that i hold all my properties files in. I defined this folder in the admin console on the following path classpath;

Application servers > server1 > Process Definition > Java Virtual Machine

I put the path to the configuation folder there under "classpath" just like i did in RAD6.

3. My application uses parent last defined in the application.xml of the EAR file.

It seems like the RAD7 logger has a higher precendence than the log4j logger. I would appreciate any suggestions to help get my LOG4J running in RAD.



Thanks in advance.
 
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"John", please check your private messages regarding an important administrative matter.

Thank you.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic