When using ITask, it logs in eventLog “Task started” and “Task finished succeeded.” Because of our implementation it runs this task every 5 min, therefore it logs the message above every 5 min. Is there a way to remove this message, so it only logs error and not info.
Or log info in a separated file? if so, how is it done?
You can create rules in nlog.config to filter log messages for different levels into different targets. For the start/completed message for the ITask you can also decorate your implementation with the Litium.Foundation.Tasks.INoLogging interface.