Permanently override the default log file
- Last UpdatedApr 24, 2025
- 1 minute read
To permanently override the default log file
-
Do one of the following:
-
For a 64-bit client, copy the %DNAInstallRoot%\Tools\config\opcClient\opcClientWS_x64.xml file to %DNADataRoot%\Tools\config\opcClient.
-
For a 32-bit client, copy the file %DNAInstallRoot%\Tools\config\opcClient\opcClientWS_Win32.xml file to %DNADataRoot%\Tools\config\opcClient.
-
-
To the configuration file, add the following entry before the port value:
<log value="myOPC.log" description="Log File Location"/>
-
Restart the OPC Client service.
After the restart, the new log file will exist at %DNADataRoot%\Tools\log.