WSAD 5.x and log4j

J

Jufo

Hello,

Where should I put properties files of log4j and common-logging libraries in
my
WSAD Web Application project?

Can't get log4j working in WSAD.
Anyone succesfully used it?

Br
 
B

Brian J. Sayatovic

It needs to be available as "/log4j.properties" somewhere in your
classpath. Generally, if you drop it in one of your source
directories (at the root of the source folder, not a package
subfolder), it gets copied as a resource to the classes output dir and
is available at runtime on the classpath.

Note that this can get trickier in Enterprise Application projects
(i.e. EARs) if you want both the WAR and EJB (and utility JARs) to be
able to share the same log4j.properties.

For more details, I would suggest you search and/or post to the
following newsgroup:

ibm.software.websphere.studio.application-site-developer

The same logic applies for the JDK 1.4 logging, but I'm not sure about
the commons-logging, although I suspect it operates similarly.

Regards,
Brian.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top