• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RAD7 - Trying to get log4j to work

 
Mark Connell
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • 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.
 
Paul Clapham
Sheriff
Posts: 21322
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"John", please check your private messages regarding an important administrative matter.

Thank you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic