Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Elektron /
  • EMA /
avatar image
Question by kage.wu · Sep 12, 2019 at 09:20 PM · c++

how to remove emaLog_*.log file

how to not create the log file

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

1 Reply

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by moragodkrit.chumsri_1 · Sep 13, 2019 at 01:59 AM

@kage.wu


EMA’s globally default behavior is to log its messages at a LoggerSeverity level of Success to a file named emaLog_<pid>.log (where pid is the process ID). You can manually change the LoggerSeverity and the logger type by using EmaConfig.xml.


If the does not use EmaConfig file, you have to copy EmaConfig.xml from "<EMA Install Directory>\Cpp-C\Ema\Examples" to your running directory or put it to the same folder as your binary.


Default consumer from the config file is Consumer_1, and it uses Logger_1, so you have to modify section Logger_1 to log message to Stdout instead and set the LoggerServerity to LoggerSeverity::NoLogMsg like below config


<Logger>

<Name value="Logger_1"/>

<LoggerType value="LoggerType::Stdout"/>

…

<LoggerSeverity value="LoggerSeverity::NoLogMsg"/>

</Logger>


Please find more details about the configuration from EMA C++ Configuraiton guide (EMACPP_ConfigGuide.pdf). You can also find EMA default behaviors/config from section 2.3 Default Behaviors.


Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
6 People are following this question.

Related Questions

How to maintain an image/cache in EMA? We are moving from RFA MarketData API to EMA.

Cannot build C++ Real-Time SDK 2.0.0.L1 for Linux

When can we expect Visual Studio 2017 C++ Libraries in Elektron SDK?

How to get FieldID from a FieldName?

Elecktron programtic config

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges