Before you begin
You can only use an agent action when the following conditions are met:
- You have the appropriate permissions required to execute agent actions.
- The TrueSight Infrastructure Management Server must be a registered component with TrueSight.
- The application class to which the monitor belongs has the menu commands defined in the KMs for PATROL Agent.
- A restricted user must have full access to the respective CI.
To enable or disable debug logging
- Launch the BMC TrueSight Infrastructure Management operator console from the TrueSight console by selecting Monitoring > Devices.
- Select your Presentation Server device in the Device Details page and click on the action menu next to the device name.
If you did not select the Device mapping option when you were configuring an Oracle monitoring policy, select the PATROL Agent device.
- Select Launch Infrastructure Management Operator console from the menu.
- Click Devices in the
console's Navigation tree
and click Grid View in the console.
View options menu
- From an Oracle monitor type or an Oracle environment in the device list, click the blue wrench icon in the Tools Menu and select Agent Actions > Logging.
Oracle monitor type debug agent actions
Select EnableDebug and the following agent action output confirms that debug logging has started.
Monitor type agent action output for EnableDebug
Select DisableDebug and the following agent action output confirms that debug logging has stopped.
Monitor type agent action output for DisableDebug

Oracle environment monitor type debug agent actions
Select EnableDebug and the following agent action output confirms that debug logging has started.
Environment agent action output for EnableDebug
Select DisableDebug and the following agent action output confirms that debug logging has stopped.
Environment agent action output for DisableDebug
The log files are stored in the following locations:
The file name is based on the KM name, which is KOE
for PATROL for Oracle Enterprise Database, and the Oracle database or Oracle environment name in the device list.