Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add batch option #25

Open
UKHOGreg opened this issue Oct 19, 2021 · 1 comment
Open

Add batch option #25

UKHOGreg opened this issue Oct 19, 2021 · 1 comment
Labels
enhancement New feature or request wontfix This will not be worked on

Comments

@UKHOGreg
Copy link

UKHOGreg commented Oct 19, 2021

Currently the provider appears to make a call to the Event Hub on every log entry.

It is fairly common for logging providers to provide a batch option, which means that log entries will be sent as a group or 'batch' rather than individually.

Batching will reduce the amount of calls made by the logging provider.

Probably worth implementing after #17 as this change will likely require a large redesign.

@rockydevnet
Copy link
Collaborator

This article describe the process of batching and sending/writing out the logs on a background thread: https://andrewlock.net/creating-a-rolling-file-logging-provider-for-asp-net-core-2-0/

@rockydevnet rockydevnet added the enhancement New feature or request label Mar 7, 2023
@rockydevnet rockydevnet added the wontfix This will not be worked on label Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants