Closed manoj-kumar1 closed 6 years ago
Although this sink hasn’t been tested in said environment but I’ll look into issue. However, it flushs log under two circumstances.
after certain timeout, normally 10 seconds Or when batch completes
please send a testable solution
Hi All,
I am using Azure document Db logger sink with Azure service fabric Actors and when we deploy these actor services in Azure service fabric cluster, logs are not written to document db. After analyzing DUMP files we find that all Actors have one thread is blocking at below method: Serilog.Sinks.Batch.BatchProvider.EventPump
Is it happening due to batching. Why Actor thread is getting blocked... After further investigation, the collection link is ‘dbs/Z0FDAA==/colls/Z0FDAJSwbQA=/’ Is this normal/correct?? I am using following configuration appsettings to write logs into Doc db: `