You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using log4net.Appender.AzureAppendBlobAppender to log my web app's info & errors. Sometimes I'm getting the "BlockCountExceedsLimit" exception. It is due to the append blob accepts only 50,000 block commits after that it through the exception (Conflict (409)). I have checked the code and found that it waits for the 512 log events and flush each log entry separately to the append blob. So, we can log only 50,000 log entries in a day.
Do you have any solution for this? Can we flush the 512 log entries in a single flush?
Thanks,
Karthik
The text was updated successfully, but these errors were encountered:
I've changed the code to a little bit to append the blob, once the buffer reaches the threshold value (512 log entries) it'll flush in a single commit.
Hi @stemarie ,
I'm using
log4net.Appender.AzureAppendBlobAppender
to log my web app's info & errors. Sometimes I'm getting the "BlockCountExceedsLimit" exception. It is due to the append blob accepts only 50,000 block commits after that it through the exception (Conflict (409)). I have checked the code and found that it waits for the 512 log events and flush each log entry separately to the append blob. So, we can log only 50,000 log entries in a day.Do you have any solution for this? Can we flush the 512 log entries in a single flush?
Thanks,
Karthik
The text was updated successfully, but these errors were encountered: