• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Log Issue in OC4j

 
Ranch Hand
Posts: 228
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Separate Logs for War and ear deployed in OC4j???

I have one instance in oc4j and deployed
2 ears, one containing MDB ,other ear containing just two webapplication in wars

a 1 ear - MDB
b 1 ear - contains two WARs

I have kept log4j.xml inside MDB jar
and log4j.xml in each of the WARs [WEB-INF\classes]

MDB log4j.xml - mdb.log
WAR1 - log4j.xml - war1.log
WAR2 - log4j.xml - war2.log

but always logs are writing in one log file only, not separate files
How to make write in separate files?

I have put the log4j-1.2.8.jar in applib folder and packed in EAR of mdb,
and WEB-INF/lib of two wars

Kindly help me
 
Beauty is in the eye of the tiny ad.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic