Skip to content

Getting "BlockCountExceedsLimit" exception while using log4net.Appender.AzureAppendBlobAppender #76

@Karthikeyan-tv

Description

@Karthikeyan-tv

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions