This problem looks a little far fetched, but as a matter of fact it is way more practical and important than it may seem.
For production we need lots of VMs on a short notice, so we rent those VMs from Windows Azure or Amazon Cloud and to minimize the costs those VMs are as small as only reasonably possible and that includes disk space. So our production environment where Seq client is running is really limited on the disk space and we must be very carefully watching for it.
Scenario which we absolutely must avoid is when due to the nature of processed data amount of logging dramatically increases, logs (rolling buffer files) consume available disk space and production machine crashes in the middle of the job because of not enough disk space.
When I think about it, the most convenient solution from our (client) point of view would be to specify maximum amount of disk space rolling buffer files are allowed to take (quota). When this quota is reached Serilog Seq client should do something like - delete old (sent) data and continue or worst case just stop using buffer files until more disk space available.
For all the practical purposes it is less harmful to lose some logs than to crash production machine.
Do you have something like that? If it is not immediately available what would be the best way to have it implemented on our side?
Thank you!
Konstantin