emaLog_PID.log file location

vladislav.tolmachyov
edited April 22 in EMA

Hi,

When you start an application, say LSEG Consumer, a log file in a format emaLog_PID.log gets created in a directory where an app is running from. Is there a way to have this file created in a directory you specify or have this log written to a file you specify?

Thanks Vlad.

Answers

  • Hello @vladislav.tolmachyov

    You can specify absolute path for the log filename in this config parameter as well. For e.g:

    <Logger>
      <Name value="Logger_2"/>
      <LoggerType value="LoggerType::File"/>
      <FileName value="C:/Logfiles/emaLog"/>
      <LoggerSeverity value="LoggerSeverity::Verbose"/>
    </Logger>
    
    

    Make sure that the location has write access to the EMA process.