Edge recording - Error log entries

We have a technical question that we can’t seem to find the answer to in the developer documentation:

We have ONVIF devices (not fully ONVIF compliant) that we add to Milestone XProtect 2023 R2 using your generic ONVIF-driver. The devices are using edge storage for recordings. We can add the devices just fine and everything else seems to work fine for our purposes (watch live video and fetch and watch recorded video) but in the recording server’s driver log we see too many log entries.

The error log entries seem to happen periodically (12 per minute for each camera) and since we will have hundreds of cameras, it will just be too much logging for us. We have not found a way to ignore these errors.

The ONVIF devices supports the following ONVIF services: device, media1, recording, replay and search. Event service is not supported by the devices (which is shown in the response to GetServices request). We can see that GetEventProperties requests are never send by Milestone but still above error appears. Maybe this is because the driver detects that the event service is not supported and logs above error instead? The question is, how can we get rid of the log errors? Do the devices have to support the event service for this? If so, which other methods in the event service must be supported so additional log errors are not introduced?

Hope someone can help us with this problem.

Milestone Development is currently investigating and will get back with an answer

Hello Björn,

All logs are controlled by settings in Devices.ini file, located at: [C:\ProgramData\VideoDeviceDrivers\C_\Program](file:C:/ProgramData/VideoDeviceDrivers/C_/Program) Files (x86)\Milestone\XProtect Recording Server\Drivers\NativeDrivers

Probably, in the mentioned file, you already have the following lines:

[Logging]

Level=5

Sink=1

If you don’t have them these are the settings by default. To be able to change them add these lines in the beginning of the file.

If you want to have less messages printed in the log files, you have to decrease the log level by setting it to: level=0 or level=1.

In this way, in the log files will be less logs - only INFO + DEBUG.

If you want to print messages in DebugView as well, “sink” should be increased to level 3 (sink=3).

After you have changed “level” and “sink”, save the file, restart the Recording Server or wait for 5 minutes for the changes to apply.

If all of that doesn’t help, we can schedule a meeting after 7th of May, in an appropriate time for you.

Kind regards,

Genadi