Turnoff logging manually using Coding


I am having hard time finding a solution for how to turnoff runtime logs and log4Net logs using either Openspan Design or Script.

So basically I am trying to give the bot an ability to turn off logs while running the bot.


Keep up to date on this post and subscribe to comments

November 15, 2019 - 8:07am

There is a LogController component available in the OpenSpan.Controls.dll that you can use to enable/disable the FilePublisher. I am not sure ho you'd do the same for Log4Net.