File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Log Issue in OC4j

 
Karthik Rajendiran
Ranch Hand
Posts: 217
  • 0
  • 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 agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic