serilog-mssql / serilog-sinks-mssqlserver

A Serilog sink that writes events to Microsoft SQL Server and Azure SQL
Apache License 2.0
278 stars 148 forks source link

How can I use it to support the split table ? eg:Logs20220118 ,Logs20220119 #377

Closed weiyan2012 closed 2 years ago

sommmen commented 2 years ago

You can't - that is not (yet) supported.

There's a backlog item open though: #190

ckadluba commented 2 years ago

In the issue #190 @jonorossi suggested to use table partitioning to achieve this. If such requirements can be beautifully handled by well tested SQL Server we would rather not build anything into the sink that makes the code more complex and could lead to misconfigurations.