Agent Instance Log

Messages from agent instances are written to an agent instance-specific Windows event log. They are named SAP_<log identifier>, while the log identifier is a four-character long sequence of capital letters and numbers, for example A3XU. To view agent instance log entries, use the PCo Management Console (see the Plant Connectivity documentation under Start of the navigation pathAgent Instance Next navigation step LogEnd of the navigation path).

You can also use the Windows Event Viewer to access the log.

In the start menu of your Windows system, you can find the program Start of the navigation pathSAP Plant Connectivity Next navigation step Event Log ManagementEnd of the navigation path, which lists all Windows event logs that are assigned to agent instances. You can sort the list by the event log name or the agent instance name by clicking on the corresponding column header. The list shows administrative information for each log and allows you to delete orphaned logs that are no longer assigned to any agent instance.

You can also retrieve the log as a CSV file from within the remote monitor. This includes the following fields:

  • Date

  • Source

  • Event Type (log level)

  • Message

  • Stack Trace

The severity of logged messages depends on the setting in the Host tab of the agent instance (see the Plant Connectivity documentation under Start of the navigation pathAgent Instance Next navigation step Host TabEnd of the navigation path).

If you set the log level to Verbose or Information, you might get a lot of log entries. Depending on the settings of the Windows event log, older log entries might be forced out or log archives might be created. Consider the log level of the logged messages when choosing the log size.

If you want to display a log in the Management Console with lots of messages, it can take a long time until the log is displayed. In this case it is recommended that you export the log as a CSV-file and open the log in Excel, for example.