This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
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 Elasticsearch in Action this week in the Big Data 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
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31585
    
185

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


[OCA 8 book] [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.
 
rocket mass heater kickstarter
 
subject: WAS 6