How to configure trace outputs to file
Trace outputs, also called diagnostics information, can be configured in the dataFEED OPC Suite Configurator in the section Settings -> Diagnostics.
In the Trace Levels group box the different trace levels (the amount of data to be traced) can be defined for each of the four trace groups. The following trace groups are available:
- Error Messages
- Warning Messages
- Information Messages
To enable tracing to a file the Trace to File checkbox must be checked.
Note: When the local dataFEED OPC Suite application is restarted the contents of the trace files are backed up. The backup is only performed for the previous log files when a new session of the local dataFEED OPC Suite application is started and not when the log files reach their maximum size during the application runtime.
If asked for the trace files in a support case, you can find them in the following folder:
%ALLUSERSPROFILE%\Softing\dataFEED OPC Suite\ConfigurationName\
Please note that this folder can vary depending on the Microsoft Windows operating system and the language version used.
The backed up trace files have the following names:
The actual trace files have the following names
Note: The tracing mechanism is circular meaning that it writes data to two separate files. When the first file reaches the Maximum file size the trace mechanism overwrites the second file and so on.
Note: When the local dataFEED OPC Suite application starts it automatically renames the two trace files from the previous session as the most recent backup files. If Number of backup files is set to 0 then the trace files from the last session will not be backed up.
Attention: Please make sure that you have enough free space for the ongoing trace files (e.g. twice the Maximum File Size) plus additional space for the backup files (if Number of backup files is greater than 0).
For a more detailed description see the online help chapter Configuration -> dataFEED OPC Suite Configuration -> Settings -> Diagnostics