serilog-mssql / serilog-sinks-mssqlserver

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

Identity Id Column out of range #475

Closed linkinlu closed 1 year ago

linkinlu commented 1 year ago

Bug Report / Support Request Template

Since the id column type is identity(1,1) , when the id reach to the int32.maxvalue , the application will throw exception when add log data. Have you consider this condition?

ckadluba commented 1 year ago

@linkinlu!

Thank you for your request. Do you have a concrete problem with this datatype or is it just a theoretical question.

If you have a useful idea how to improve this we are always open for ideas or a PR.

Best regards, Christian