Debugging


Enabling debugging

You can enable Debug to debug both the Java Collector and the PATROL Agent.

  1. Right-click the Server Automation icon
  2. Select KM commands>Debug>Set Debug.
     The Set Debug dialog box is displayed
  3. Select Enable.
  4. Click Ok.
  • by default the PATROL Agent debug file (ZXY_JavaCollector) is saved to C:\Program Files\BMC Software\Patrol3\ZXY\logs\java
  • by default the PATROL Agent debug file (ZXY_PSL_Debug) is saved to C:\Program Files\BMC Software\Patrol3\ZXY\logs

Changing debug file size

The default value of each debug file is 10MB, you might want to increase the size of one or both of these files.
To change the value of the Java Collector file size

  1. Stop the Java Agent
  2. Access the Collector.properties file (Default path= C:\Program Files\BMC Software\Patrol3\ZXY\Conf)
  3. Modify the DebugFileSize value.
  4. Restart the Java Agent. 

    Note

    The size of the Java Collector log reverts to the default value (10MB) next time you restart the Java Agent.

To change the value of the PATROL Agent file size

  1. Stop the Java Agent
  2. Access the Agent.properties file (Default path= C:\Program Files\BMC Software\Patrol3\ZXY\Conf)
  3. Modify the AgentDebugFileSize value.
  4. Restart the Java Agent.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*