Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How t o have multiple log files in WSAD and WAS using log4j ?

 
Adam Tao
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have an enterprise application including multiple modules and utility jar file.
If log4j is not used in utility jar and log4j is used in multiple modules separately, different module log messages go to different log file. There are no problems so far. But if I want to use log4j in utility jar, there is a configure file log4j.properties file in utility jar. When I start WSAD test env, an utility.log file is created. When I run the web modules, different module log messages cannot go to different log file. How can we have multiple log files when we use log4j in both utility jars and multiple web modules?
Thanks,
Adam
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is done using log4j settings and is not specific to WebSphere.
You'll get a better answer in the Other Open Source Projects forum, so I'll move the thread there.
Dave
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic