How to write logs to Flat file coming from Robot
This can be achieved by making the below changes in the web.config file of Orchestrator.
- Add the below target with type = File, name = executionFile and filename = the location where the flat file would get created.
Note: name can be changed as per user requirement
2. Add the below rule under the rules section of web.config file. In writeTo parameter, provide the target name (which, in this case, is "executionFile")
3. Manually create the folders that have been specified in the target like D\logs\text.txt and the App pool user has write permission to this folder.