.Net EMA API Log
I am using .net EMA API to load the Instrument Pricing in Azure Function and trying to capture the underlying logs from the API. I tried using Logger section in the config file but it is not capturing events at the RIC level, I am able to capture high level events.
Best Answer
-
Thank you for reaching out to us.
I checked the EMA .NET configuartion guide and found that it supports logging with the following levels.
Possible values are:
• LoggerSeverity::Verbose (0)
• LoggerSeverity::Success (2)
• LoggerSeverity::Warning (3)
• LoggerSeverity::Error (4)
• LoggerSeverity::NoLogMsg (5)The Verbose level doesn't capture events at the RIC level. If you would like to see the raw messages, you can use the XmlTraceToStdout or XmlTraceToFile configuration.
<Consumer>
<Name value="Consumer_1"/>
<Channel value="Channel_1"/>
<Logger value="Logger_1"/>
<Dictionary value="Dictionary_2"/>
<XmlTraceToStdout value="1"/>
</Consumer>The trace messages look like this:
<!-- Incoming Reactor message -->
<!-- Rssl Channel
scktChannel: 127.0.0.1:14002
connected: True
state: ACTIVE
connectionType: SOCKET
clientIP:
clientHostname:
pingTimeout: 30
majorVersion: 14
minorVersion: 1
protocolType: RWF
userSpecObject: LSEG.Ema.Access.ChannelInfo
-->
<!-- 7/30/2024 12:57:56 PM -->
<!-- rwfMajorVer="14" rwfMinorVer="1" -->
<UPDATE domainType="MARKET_PRICE" streamId="3" containerType="FIELD_LIST" flags="0x90 (HAS_SEQ_NUM|DO_NOT_CONFLATE)" updateType="0" seqNum="63998" dataSize="13">
<dataBody>
<fieldList flags="0x08 (HAS_STANDARD_DATA)">
<fieldEntry fieldId="3275" data="0C6D"/>
<fieldEntry fieldId="3284" data="0C4A"/>
</fieldList>
</dataBody>
</UPDATE>However, enbling XML trace will impact the performance of the application.
0
Answers
-
Thanks @Jirapongse for your response.
If I enable I get following error logged in the file XmlTraceToFile .If I remove this I am at least able to capture other level of logs.
Severity: Error Text: Unknown Consumer entry element: XmlTraceToFile in Consumer_1
Also can you share the .net configuration guide link.
0 -
The configuration looks like this:
<ConsumerList>
<Consumer>
<Name value="Consumer_1"/>
<Channel value="Channel_1"/>
<Logger value="Logger_1"/>
<Dictionary value="Dictionary_2"/>
<XmlTraceToFile value="1"/>
</Consumer>I am using RTSDK-2.2.0.L1.CSharp.rrg.
You can check all available configurations in the EMACSharp_ConfigGuide.pdf file in the package.
0 -
Thank you @Jirapongse
In .net version the property name is changed to LoggerType
• LoggerType::File: The Enterprise Message API logs to
the file specified in the parameter FileName.
• LoggerType::Stdout: The Enterprise Message API logs to
stdout.
0
Categories
- All Categories
- 6 AHS
- 39 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 60 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛