Refer below document and enabling Debug on both Nodemanger and Oracle http server instance . OHS logs will be available in the below location

- DOMAIN_HOME/nodemanager/nodemanager.log
- DOMAIN_HOME/servers/<component>/logs/<component>.log
- DOMAIN_HOME/system_components/OHS/ohs_nm.log
Enabling debug for Nodemanager and OHS
1. Set 'LogLevel=FINEST' in the nodemanager.properties file.

    Linux/Unix: $DOMAIN_HOME/nodemanager/nodemanager.properties
    Windows:   %DOMAIN_HOME\nodemanager\nodemanager.properties

2. Set 'LogLevel=FINEST' in the ohs_nm.properties file.

    Linux/Unix: $DOMAIN_HOME/config/fmwconfig/components/OHS/ohs_nm.properties
    Windows:   %DOMAIN_HOME\config/fmwconfig\components\OHS\ohs_nm.properties

3. Set following in the httpd.conf file.

    Linux/Unix: $DOMAIN_HOME/config/fmwconfig/components/OHS/ohs_1/httpd.conf
    Windows:   %DOMAIN_HOME\config/fmwconfig\components\OHS\ohs_1\httpd.conf

OraLogMode odl-text

OraLogSeverity TRACE:32

or

The following can also be set for 12.1.2.0.0, 12.1.3.0.0.

OraLogMode odl-xml

OraLogSeverity TRACE:32

  1. Restart the Nodemanager and OHS.

Note : LogLevel
Accepted values:
SEVERE (highest value)
WARNING
INFO
CONFIG
FINE
FINER
FINEST (lowest value)
Default: INFO

OHS and Nodemanager logfile location

1. General NM log messages.

    Linux/Unix: $DOMAIN_HOME/nodemanager/nodemanager.log
    Windows:   %DOMAIN_HOME\nodemanager\nodemanager.log



2. NM specific OHS log messages.

   Linux/Unix: $DOMAIN_HOME/system_components/OHS/ohs_nm.log
   Windows: %DOMAIN_HOME\system_components\OHS/ohs_nm.log



3. General OHS log messages.

   Linux/Unix: $DOMAIN_HOME/servers/ohs_1/logs/error_log  or ohs1.log
   Windows: %DOMAIN_HOME\servers/ohs_1\logs\error_log or ohs1.log

Note :

This note can be applied to the collocated OHS.
But OHS start and stop commands are different in the collocated OHS.

Related Posts

Leave a Reply

Your email address will not be published.