Log

Overview

The Log view of the device editor is used to display the events which have been logged on the runtime system of the controller.

This concerns:

  • Events at system start or shutdown (loaded components and their versions)

  • Application download and boot project download

  • Customer-specific entries

  • Log entries of I/O drivers

  • Log entries of the data server

Description of the Elements

The Log view provides the following elements:

Element

Description

Severity

The events of the log are grouped in four categories:

  • warning

  • error

  • exception

  • information

The buttons in the bar above the listing display the number of loggings in the respective category. Click the buttons to switch on or off the display of the entries of each category.

Time Stamp

Date and time:

Example: 13.01.2007 09:48.

Description

Description of the event:

Example: <Application> started

Component

Choose a particular component in order to obtain only displayed log entries regarding this component. The default setting is <All components>.

Logger

The selection list provides the available loggings. The default setting is <Default Logger>, which is defined by the runtime system.

Updates the list.

Exports the list to an XML file. The dialog box for saving a file opens. The file filter is set to xml-files (*.xml). The log file is stored with the specified file name with extension .XML in the chosen directory.

Displays log entries stored in an XML file which may have been exported as described above. The dialog box for browsing for a file opens. The filter is set to xml-files (*.xml). Choose the desired log file. The entries of this file are displayed in a separate window.

Clears the log table by removing the displayed entries.

Offline-Logging

This option is not used in EcoStruxure Machine Expert.

UTC Time

Activate this option to display the time stamp of the runtime system as it is (without conversion). If deactivated, the time stamp of the local time of the computer is displayed (according to the time zone of the operating system).

NOTE: In order to display the time stamp in UTC (Universal Time Coordinated), you must set the time of the controller to UTC time beforehand (also refer to the Services tab of your controller configuration).

Troubleshooting

In case an error is detected and displays the text *SOURCEPOSITION*, you can open the function by double-clicking or by executing the command Show source code in editor from the contextual menu. The cursor marks the relevant position. You can also use the project archive including the Download information files and the exported log file for diagnostics. In case of protected functions, the message The source code is not available for <function name> is displayed.