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.
If you are connecting to a remote dacs sink daemon on ADS (TREP), you have an option of creating dacs.usage on there.
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.