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 Android Security Essentials Live Lessons this week in the Android 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: 30138
    
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
 
Similar Threads
Session Mgmt Across Multiple WebLogic Systems
About saving to different log files by using log4j.properties
How to replicate sessions between two web applications on the same tomcat?
Logging out from muliple applications
multiple apps pointing so same docbase locking the log files from rolling