For enabling the ECID's with the OC4J logs , please use the following method.
1. cd $ORACLE_HOME/Apache/Apache.conf % cp httpd.conf httpd.conf.orig Edit "httpd.conf" and locate the current "LogFormat" directive for the "common" log: LogFormat "%h %l %u %t \"%r\" %>s %b" common Duplicate and then comment this entry, then edit the duplicate to include the following log attributes: (a) "[ecid: %{Oracle-ECID}i]" (logs the ECID) (b) "[%T (secs)]" (logs time taken to process the request) For example: # #LogFormat "%h %l %u %t \"%r\" %>s %b" common LogFormat "%h %l %u %t [ecid: %{Oracle-ECID}i] \"%r\" %>s %b [%T (secs)]" # 2. Backup and then edit the OPMN configuration file ($ORACLE_HOME/opmn/conf/opmn.xml):
| |
No comments:
Post a Comment