• Post Reply Bookmark Topic Watch Topic
  • New Topic

Log Issue in OC4j  RSS feed

Ranch Hand
Posts: 221
  • Mark post as helpful
  • send pies
  • 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
I’m tired of walking, and will rest for a minute and grow some wheels. This is the promise of this tiny ad:
Rocket Oven Kickstarter - from the trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!