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

After update from .net core 3.1 to .net 6, first batch not logged #74

Open
stajfar opened this issue Jan 18, 2023 · 1 comment
Open

Comments

@stajfar
Copy link

stajfar commented Jan 18, 2023

We recently upgraded our api from .net core 3.1 to .net 6. (This used to happen before the update as well). We noticed some logs are missing.
I did some more investigation and noticed self logs say transfer [ok] for the First batch and next batches, but first batch is missing in azure analytics. Rest of the batches are created.

If I put a breakpoint, and delay the log lines then they move to 2nd,3rd batch and I can see them in azure created.
Summary: issue is with the first batch.

@otishone
Copy link

I faced similar Issue. Small functions stopped producing logs at all (probably those were send in a single batch).
When we changes the batch size for example to 1, everything gets logged, also when we added 5-6 seconds delay at the end of the function everything was logged as well.

We started to face it once we switched to the AF V4 from V1 and V3.

Are there any steps to adjust this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants