Logging
You can activate a log file in the server for extended diagnostics, in which various information is then recorded on the basis of different log levels.
![]() | Influence of logging on the operating behavior Please note that enabling the log file can have a negative impact on the speed and operating behavior of the TwinCAT OPC UA Server. |
The default path for the log files created depends on the operating system used and is described in more detail in the chapter Application directories.
Logging is usually enabled/disabled via the TwinCAT OPC UA Configurator. You can enable/disable logging both online on the server and offline using the corresponding configuration file, which means that logging is only enabled after a server restart. The following screenshot shows the configuration interface for online logging:

The following screenshot shows the configuration interface for offline logging:
