question

Upvotes
Accepted
0 0 0 1

Rolling event log files per day using Ema C++ SDK

Hello everyone, can you please tell me exist possibility write log files each day if application work whole time. Expected result that's EMA create new log file each day without restrictrions for time application working.

elektron-sdkema-apic++ommconsumer
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Upvotes
Accepted
25k 87 11 23

Hi @mikhail.maryankou

Please refer to the EMA C++ Config Guide for details on the Logging related parameters - https://developers.refinitiv.com/content/dam/devportal/refinitivrealtimeapi_pdfs/ema_cpp_config_guide.pdf

Where the key relevant paraemters are:

1645448408490.png

So, you could can NumberOfLogfiles>0 and MaxLogFileSize>0 so that it rolls over once the file size reaches a particular size and a new file is created.

The API does not allow rolling on a fixed daily basis.



1645448408490.png (106.3 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.