If SizeLimitedFileSink cannot open a file for writing, it's possible to get a System.UnauthorizedAccessException.
This was noticed during Zeus QA02 migration where a log file was initially created by a different account context, leaving the application pool identity unable to access it. As the exception is thrown in the constructor it crashed the tenant.
If the exception is thrown we think it should attempt at least once to create a new file.
If
SizeLimitedFileSink
cannot open a file for writing, it's possible to get aSystem.UnauthorizedAccessException
.This was noticed during Zeus QA02 migration where a log file was initially created by a different account context, leaving the application pool identity unable to access it. As the exception is thrown in the constructor it crashed the tenant.
If the exception is thrown we think it should attempt at least once to create a new file.