File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Websphere and the fly likes RAD7 - Trying to get log4j to work Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "RAD7 - Trying to get log4j to work" Watch "RAD7 - Trying to get log4j to work" New topic

RAD7 - Trying to get log4j to work

John IHateWebsphere

Joined: May 01, 2009
Posts: 2
Websphere development environment: Version:

Problem: RAD7 is using its own logging and tracing defined in the "troubleshooting>logs and trace" of the admin console and the 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. 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

Joined: Oct 14, 2005
Posts: 19869

"John", please check your private messages regarding an important administrative matter.

Thank you.
I agree. Here's the link:
subject: RAD7 - Trying to get log4j to work
It's not a secret anymore!