File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other JSE/JEE APIs and the fly likes log4j doesnt work in WAR files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Reply locked New topic

log4j doesnt work in WAR files


Joined: Dec 12, 2005
Posts: 5
Hi there.

Im using log4j in order to see my log messages, and all works rigth, but when i try to upload my application in a WAR file, it doesnt work cause it cannot find the RealPath.

Somebody has any suggestion?

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
Hello Mauricio-

Welcome to JavaRanch.

Please do not post the same question in more than one forum. It likely leads to duplicated efforts in answering them. Since this forum is about other Sun APIs, I'm closing thsi thread; please continue the discussion over in Other Open Source Projects.
I agree. Here's the link:
subject: log4j doesnt work in WAR files
It's not a secret anymore!