We have Windows event logging enabled for our application build on RFA 8 C++ libraries but all entries in the Windows event log have the same error message e.g.
"The description for Event ID 10105 from source RSSL_Adapter cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer."
The Windows registry values for this component are
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Reuters\RFA\CLS_RFA_GW1\Logger\ComponentLoggers\RSSL_Adapter messageFile = RFA8_RSSL_Adapter
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Application\RSSL_Adapter EventMessageFile = RFA8_RSSL_Adapter120.dll
RFA8_RSSL_Adapter120.dll is installed in our applicaiton distribution directory
Is this correct? The error above suggests the Windows Event log can't locate the RSSL_Adapter dll RFA8_RSSL_Adapter120.dll.
Please advise if our configuration is correct or other investigation to determine why the description for the event ID can't be found.
Below is an additional information about the logger setting provided by RFA C++ development team.
For setting up Windows Event Logs for RFA8 RSSL OMM Consumer, the following registry entries need to be in place considering that the Visual Studio 2017 DLLs are present in ‘C:\Release’ directory as an example.
For setting up Windows Event Logs for RFA8 RSSL OMM Provider, add the following entry.
If in case of using a static version of RFA libraries, please add the following entry.
The following registry entry is not required to be added.
Hence, the component RFA8_Adapter has to be removed and the component RFA8_RSSL_Adapter has to be added to table 13 of RFA Configuration Guide. Also, the references of RFA7 has to be replaced with RFA8 in the document. Moreover, for the components like SessionCore and Connections, any one of the DLLs [RFA8_Connections150_x64.dll/ RFA8_Connections_OMM150_x64.dll] can be used as both of those libraries are expected to support Windows Event Logs.
They will update the document and hope this can help.
You might need to set messageFile to the absolute path of the Dll file.
I have the dll in D:\Release_MD. The path should be.
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Reuters\RFA\CLS_RFA_GW1\Logger\ComponentLoggers\RSSL_Adapter messageFile ="D:\\Release_MD\\RFA8_RSSL_Adapter150_x64.dll"
It seems to work for me.
Thanks we have this working now. From the config_guide documentation for RFA 8 in table 13 there is no RSSL_Adapter component. Can you advise for a RSSL OMM consumer what component loggers should be setup and their corresponding messagFile dll. From the delivered dlls there are some OMM/RSSL options, I am unsure of which ones to use?
A similat question has been asked by my colleague https://community.developers.refinitiv.com/questions/64310/is-the-loggercomponentloggersadaptor-setting-still.html
From my understanding, based on the document, the Dlls seems to be the following list. Anyway, it does not clear about the RFA8_Adapter and DLL name. It looks like the document is not updated.
I would suggest you open a new API support case so the support team can discuss with RFA Development to clarify regarding the Dlls and update the document.
[HKEY_LOCAL_MACHINE\SOFTWARE\Reuters\RFA\Default\Logger\ComponentLoggers\Connections] "messageFile"="D:\\RFADLLs\\RFA8_Connections150_x64.dll" [HKEY_LOCAL_MACHINE\SOFTWARE\Reuters\RFA\Default\Logger\ComponentLoggers\SessionCore] "messageFile"="D:\\RFADLLs\\RFA8_SessionLayer150_x64.dll" [HKEY_LOCAL_MACHINE\SOFTWARE\Reuters\RFA\Default\Logger\ComponentLoggers\Adapter] "messageFile"="D:\\RFADLLs\\RFA8_Adapter" [HKEY_LOCAL_MACHINE\SOFTWARE\Reuters\RFA\Default\Logger\ComponentLoggers\RSSL_Adapter] "messageFile"="D:\\RFADLLs\\RFA8_RSSL_Adapter150_x64.dll" [HKEY_LOCAL_MACHINE\SOFTWARE\Reuters\RFA\Default\Logger\ComponentLoggers\RSSL_Cons_Adapter] "messageFile"="D:\\RFADLLs\\RFA8_RSSL_Cons_Adapter150_x64.dll" [HKEY_LOCAL_MACHINE\SOFTWARE\Reuters\RFA\Default\Logger\ComponentLoggers\RSSL_Prov_Adapter] "messageFile"="D:\\RFADLLs\\RFA8_RSSL_Prov_Adapter150_x64.dll"