Task #744

Separate the host message logging to a new log file

Added by Tan Lee Yong over 13 years ago. Updated over 13 years ago.

Status:Work Completed-End life cycleStart date:January 19, 2011
Priority:NormalDue date:January 21, 2011
Assignee:Ang Wei Cheng% Done:

100%

Category:-Spent time:-
Target version:-

History

#1 Updated by Ang Wei Cheng over 13 years ago

  • Status changed from New - Begin Life Cycle to Development / Work In Progress
  • % Done changed from 0 to 50

Figured out how to use third party library from Message Driven bean. Need to use log4j for logging.
Have to declare it in the META-INF, MANIFEST.MF.
For example, "Class-Path: log4j-1.2.15.jar".

Then just upload the log4j jar file into the server.

Now the message driven bean will log to external file accordingly.

SIT Host - /opt/wlsun/user_projects/domains/mpi/iblogs/mdb/mdb.log
UAT Host - /opt/wlsun/user_projects/domains/mpi/iblogs/mdb/mdb_UAT.log

#2 Updated by Ang Wei Cheng over 13 years ago

  • Status changed from Development / Work In Progress to Work Completed-End life cycle
  • % Done changed from 50 to 100

RIB log4j_maybank.xml
Add new appender for package com.ib.message.
now jms messages should be logged to a new file.

Also available in: Atom PDF