It's not currently possible to disable writing to the Event Viewer when file logging fails. For a future release, we'll consider adding that capability and/or an option to limit the amount of events written in that circumstance.
If you can't prevent file logging from failing, you may be able to detect it did/will fail and disable file logging and/or abort the build.
|