File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Websphere and the fly likes WAS 6 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "WAS 6" Watch "WAS 6" New topic
Author

WAS 6

Neeraj Vij
Ranch Hand

Joined: Nov 25, 2003
Posts: 315
Hi,

We have deployed 2 different applications on WAS 6 server {App1 and App2}. Both have log4j implementation in it. both have different log files mentioned in their properties file. But the logs are getting generated for both applications in log file specified by App1.

I am not able to find out the reason. Please proivde some pointers.

Thanks,
Neeraj.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30361
    
150

Could they both have the same directory in their classpath for the property file saying which file to use for logging?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Neeraj Vij
Ranch Hand

Joined: Nov 25, 2003
Posts: 315
Both applications have log4j.properties inside their web-inf/classes folder.

Thanks,
Neeraj.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WAS 6