I am trying to analyse the operation of a WinCC OPC UA Server that I have configured in an WinCC 3.14 project with patch level 16
The internal datapoint State.ClientsConnected shows me that there are several clients connected and I want to find out more about those clients. Since they connect anonymously I only get these messages in the log file
WCCOAopcuasrv(4), 2019.02.06 12:58:30.311, PARAM,INFO, 27/opcuasrv, OpcUaSServerConfig in Function logonSessionUser, Client is trying to connect in Anonymous-Mode
WCCOAopcuasrv(4), 2019.02.06 12:58:30.311, PARAM,INFO, 28/opcuasrv, OpcUaSServerConfig in Function logonSessionUser, Connection established
without even the name or IP address of the client and also no log messages when they disconnect.
In the Help I found this chapter Internal data points of the OPC UA server and an entry there called Config.EnableLogging which looked promising so I set that datapoint to 1 which caused the file PVSS00opcuasrv4_uatrace.log to be written full with a bunch of low level debugging infos but I could find nothing useful there about the clients connected.
So I have two questions:
1/ Is there any way to find out the IP address of the OPC UA client that is connecting to the server?
2/ Is there any way to suppress the server's rather meaningless connection information entries (see above) that just spam up my log files?
By the way, the WinCC help description for Config.EnableLogging could use some improvements:
- in two places, the word login is used where actually the word logging should be
- the element is of type uint but only the value 0 is described. Using 1 obviously activates the logging as described above, but there is no information if different numbers cause different outputs to be generated.