Thursday, July 9, 2015

How to enable debug ON on OHS and redirect the trace to logfile.


Add below lines in httpd.conf file to enable debug.

 Debug ON
 WLLogFile /tmp/weblogic.log
 DebugConfigInfo ON
 Debug ALL

Example:

<Location /myapplication>
 setHandler weblogic-handler
 WebLogicCluster hostname:portid
 Debug ON
 WLLogFile /tmp/weblogic.log
 DebugConfigInfo ON
 Debug ALL
</Location>

No comments:

Post a Comment