• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

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

 
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
 
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
 
grapes are vegan food pellets. Eat this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!