• 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 ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

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

Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
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.
grapes are vegan food pellets. Eat this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!