Win a copy of Getting started with Java on the Raspberry Pi this week in the Raspberry Pi forum!
  • 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Liutauras Vilda
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Piet Souris

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

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
My previous laptop never exploded like that. Read this tiny ad while I sweep up the shards.
Low Tech Laboratory
https://www.kickstarter.com/projects/paulwheaton/low-tech-0
reply
    Bookmark Topic Watch Topic
  • New Topic