Options for Log

If you choose this category in the Options dialog box, then you get the following dialog box:

../_images/101b559543758d160a33139006eab46b

In this dialog, you can configure a file that acts as a project log, recording all user actions and internal processes during Online mode processing (see also: Log).

If an existing project is opened for which no log has yet been generated, a dialog box opens which calls attention to the fact that a log is now being set up that will receive its first input after the next login process.

The log is automatically stored as a binary file in the project directory when the project is saved. If you prefer a different target directory, you can activate the option Directory for project logs: and enter the appropriate path in the edit field. Use the button to access the “Select Directory” dialog for this purpose:

../_images/0cbab1fc43759f3f0a33139006eab46b

The log file is automatically assigned the name of the project with the extension .log. The maximum number of Online sessions to be recorded is determined by Maximum project log size. If this number is exceeded while recording, the oldest entry is deleted to make room for the newest.

The Log function can be switched on or off in the Option field Activate logging.

You can select in the Filter area which actions are to be recorded: User actions, Internal actions, Status changes, Exceptions. Only actions belonging to categories checked here will appear in the Log window and be written to the Log file.

The Log window can be opened with the command ‘Window’ ‘Log’.

Note

The settings will be stored in CoDeSys.