Add custom target log in web.config

How to redirect Orchestrator logs to a custom target like a txt file.

  1. Please add below target under <targets> section in the web.config file :
    <target xsi:type=“File” name=“executionFile” filename=“C:\Logs\text.txt” layout="{time} {level} ${message" concurrentWrites=“true” />

    2. Add rules for this new target in <rules> section. For example, to add robot logs to this file, please add below line :
    <logger name=“Robot.*” writeTo=“executionFile” />
    Please refer to Logging Configuration for more insights.