Open stajfar opened 1 year ago
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?
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.