Orchestrator 2019.10 hot to show logs from ElasticSearch in job -> view logs


We have configured our orchestrator to send error logs to database and info level logs to elastic search.
On 2019.4.2 version of orchestrator it used to show logs in jobs feed from elastic search. But since we have updated to version 2019.10 we can only see Error logs in OC error feed.

How can we configure OC 2019.10 to show info logs from ElasticSearch?

these are the rules we use to handle logging:

      <logger name="BusinessException.*" minlevel="Info" writeTo="businessExceptionEventLog" final="true" />
      <logger name="Robot.*" final="false" minlevel="Error" writeTo="database" />
      <logger name="Robot.*" final="true" minlevel="Info" writeTo="robotElasticBuffer" />
      <logger name="Monitoring.*" writeTo="monitoring" minlevel="Warn" final="true" />
      <logger name="Quartz.*" minlevel="Info" writeTo="eventLogQuartz" final="true" />
      <logger name="*" minlevel="Info" writeTo="eventLog" />

Uipath support helped us so we found the problem.

UiPath orhcestrator retrieves logs from first line where we specify writeTo. So we just had to swap two lines in web.config. First we need to specify robotElasticBuffer and then database

      <logger name="Robot.*" final="false" minlevel="Info" writeTo="robotElasticBuffer" />
      <logger name="Robot.*" final="true" minlevel="Error" writeTo="database" />
1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.