question

Upvotes
Accepted
0 0 0 3

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.

Hello @mikhail.maryankou

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?


If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.

Thanks,


AHS

@mikhail.maryankou

Hi,

Please be informed that a reply has been verified as correct in answering the question, and marked as such.

Thanks,

AHS

1 Answer

· Write an Answer
Upvotes
Accepted
25.3k 87 12 25

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.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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