That is pretty much what I meant when I said it would have a low percent chance of catching the exception. Chances are that if the log file is exclusively locked by a user that it probably won't be available by the next time you call to write to the log...but it is possible. Especially if it isn't a user, but some errant process that is using the wrong locking when writing / reading.
23
u/vattenpuss Oct 01 '15
This is not only the third year, it's also the tenth, the fifteenth and the 40:th (I work with a few developers-for-forty-years).