About Milestone log after using TCP socket connect

Dear all,

After using TCP socket to connect recording for live view, we want to find out related log for the action but I opened whole log of recording server from programdata.

The log of ImageServer (XPCO 2020 R2) only showed which camera is feeded but no information about what user is seeing , ip source etc as shown below

2020-08-20 16:40:59.161+08:00 [ 128] INFO - DevId=0ca0d4d8-ddff-42a2-845a-34d2c937cc46 Status: 1=1 2=1 3=0 5=0 (CameraLiveFeedStarted Motion Recording CameraConnectionLost )

Please advise & thanks.

It is impossible to see the audit logs in the path “[c:\program](file:c:/program) data\Milestone” because the audit logs are stored in SQL.

In order to see it, please read this article – READ AUDIT, SYSTEM OR RULE LOGS FROM THE MIP SDK (SDK SAMPLE) -

https://developer.milestonesys.com/s/article/read-Audit-System-or-Rule-logs-from-the-MIP-SDK

If you want to see the audit logs in Management Client, please start Management Client – Server logs – select Audit logs, then you will be able to see the audit logs.

That log message is giving you the device ID which you can use to discover the associated hardware device and/or its IP address through configuration API or for example the MessageCommunication class by registering a filter for the MessageId.Server.GetIPAddressResponse and then transmitting the MessageId.Server.GetIPAddressRequest message with the FQID of the camera.

As Rie mentioned, the Audit Log will provide a more user-friendly entry in Management Client under Server Logs > Audit. For more detailed audit logs in Management Client you can visit Tools > Options > Server Logs and enable user access logging under the Audit log settings.