Applies To | |||
Product(s): | WaterGEMS | ||
Version(s): | 08.11.XX.XX and higher | ||
Original Author: | Akshaya Niraula, Bentley Technical Support Group |
How can I enable SCADAConnect logging to obtain SCADA log information?
In version 08.11.06.58 and higher (including CONNECT Edition, 2023, 2024, etc) the SCADAConnect log file is available from the Configure Ribbon:
Note: starting with Patch01 of version 10.02.01.06, the log file is located here: C:\Users\<User Name>\AppData\Local\Bentley\SCADAConnect\10\SCADAConnect.log
Starting with CONNECT Edition Update 3, you can enable more verbose (detailed) logging by adding the following highlighted option to your watergems.exe.config file via text editor. This file is located in the "x64" subfolder of your WaterGEMS installation folder, if you are using the 64-bit version of WaterGEMS.
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1"/>
</startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="SharedAssemblies" />
<dependentAssembly>
<assemblyIdentity name="Bentley.License.Library.NET" publicKeyToken="4bf6c96a266e58d4" />
<bindingRedirect oldVersion="1.0.0.0" newVersion="9.0.0.39" />
</dependentAssembly>
</assemblyBinding>
</runtime>
<appSettings>
<add key="SCADA_EnableVerboseLogging" value="true"/>
</appSettings>
</configuration>
In V8i SELECTseries 5, the SCADAConnect log file is available from the main toolbar:
In V8i SELECTseries 4, to obtain a log please first make sure that saving log option is toggled. From the Tools menu of SCADAConnect, go to Options and Advanced tab. Please make sure "Enable Advanced Logging" is checked.
Generally the default location where the log file is saved, is at the following location:
Windows XP: C:\Documents and Settings\<User>\local Settings\Application Data\Bentley\WaterGEMS\8\SCADAConnect.log
Vista or higher: C:\Users\<User>\AppData\Local\Bentley\WaterGEMS\8\SCADAConnect.log
Using SCADAConnect Simulator (V8i SS6 and CONNECT Edition)
Using SCADAConnect Simulator (older versions)