Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WAS 6

 
Neeraj Vij
Ranch Hand
Posts: 315
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 34178
340
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could they both have the same directory in their classpath for the property file saying which file to use for logging?
 
Neeraj Vij
Ranch Hand
Posts: 315
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Both applications have log4j.properties inside their web-inf/classes folder.

Thanks,
Neeraj.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic