Hi All,

I have mentioned few of the important log files which can help you guys troubleshoot Issues related to your OMS {Oracle Management Service.}

If we talk about the OMS log files you can easily find them under

<EM_INSTANCE_BASE>/em/<OMS_NAME>/sysman/log/‘  so in my environment the path is “/app/oracle/product/middleware/gc_inst/em/EMGC_OMS1/sysman/log/

where EM_INSTANCE_BASE = /app/oracle/product/middleware/gc_inst

and OMS_NAME= EMGC_OMS1

File names and their description is mentioned below:

  • emctl.log  – contains information about ’emctl’ commands execution
  • emoms.log – contains information of OMS actions and errors
  • emoms.trc – can be helpful in troubleshooting different issues
  • emoms_pbs.log – contains information about ‘platform background service’ application
  • emoms_pbs.trc – trace file for ‘platform background service’ application

Please keep in mind that just like in other application/databases in OMS as well the size of log is restricted. These logs files can be segmented into a configurable number of segments of a configurable size so they do not need to be manually deleted or managed. When the file reaches the pre-defined maximum size, the OMS rolls the logging information to a new file name and starts writing to a new log or trace file.  The settings is managed by parameter log4j.appender.emlogAppender.MaxFileSize  and log4j.appender.emtrcAppender.MaxFileSize respectively} in emomslogging.properties it is recommended to modify these parameters via the EMCTL utility.

This ability avoids the log files to grow large in size.

For more details on the location of the OMS log and trace files as well as the commands which can be used to modify the logging and tracing parameters, you can refer to MOS note

EM 12c: Steps to Locate and Manage the Various Logs/Trace files in a 12c OMS Installation [1448308.1]

Also the In built feature of checking log files from GUI of OEM12c makes it easier for user to troubleshoot and locate the files.

You can search file by navigating to “Enterprise < Monitoring < Logs“. Here you get the different search criteria using which you can search the log files for different targets.

In next blog I’ll publish in details how log files can be managed through GUI.