serilog / serilog-sinks-periodicbatching

Infrastructure for Serilog sinks that process events in batches.
Apache License 2.0
70 stars 29 forks source link

Change batching options from configuration not working #55

Closed AmitaKhatri closed 3 years ago

AmitaKhatri commented 3 years ago

Hi,

I am trying to change the default options of batching and they work when I override from code but the configuration is not working. I used below configuration in my project but it stops adding any further logs after adding the first one. Am I doing something wrong here?

"WriteTo": [ { "Name": "Graylog", "Args": { "hostnameOrAddress": "localhost", "port": "2548", "transportType": "Tcp", "batchSizeLimit": 10, "period": 2, "QueueLimit": 1000 } } ]