question

Upvotes
Accepted
3 2 2 4

We are using below dacs APIs in our code which is included in header file AuthRequest.h setUsageLogging getUsageLogging We need the information about these APIs and where they do generate dacs.usage file on TREP server?

DACSopen-dacs
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.

Upvotes
Accepted
25k 87 11 23

Hi @sarvesh.singh

The Open DACS API C++ documentation, training material and other downloads can be accessed from the Developer Portal.

Documentation for setUsageLogging() can be found in the SDK download file or can be accessed online at the links below:

the setUsageLogging() method is explained here

The default value for setUsageLogging PerformUsage parameter is DontPerformUsageLogging

However, the other possible PerformUsage values are listed on this page.


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.

Upvotes
32.2k 40 11 19

Hello @sarvesh.singh,

In addition to the suggestions by @Umer Nalla, you may wish to look at this previous discussion thread on the same.

If you are connecting to a remote dacs sink daemon on ADS (TREP), you have an option of creating dacs.usage on there.

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.

Upvotes
3 2 2 4
Hi @zoya.farberov,@Umer Nalla, Thanks for your reply. The link provided is helpful to understand about the APIs. I am using remote dacs sink daemon on ADS and tried to generate the report over there by setting the usage param to 1(AlwaysPerformUsageLogging) but I can't see any data w.r.t. that report.
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.

Upvotes
32.2k 40 11 19

Hello @sarvesh.singh,

Please note, that all the steps that are discussed in the thread referred to, both from dacs administrator via dacs admin ui and via API are necessary. It is likely required to coordinate your actions with your dacs admin/market data group on this matter, in order to verify the dacs admin side of the requirement.

For the additional details on how to generate usage on the remote daemon, refer to the answer below the answer that is accepted and marked in green.

Setting the parameter is required, but is not enough.

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.