Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting 409 error when creating table entries #160

Open
stuartp22 opened this issue Jun 17, 2024 · 0 comments
Open

Getting 409 error when creating table entries #160

stuartp22 opened this issue Jun 17, 2024 · 0 comments

Comments

@stuartp22
Copy link

When my logger writes a new entry to table storage, a 409 followed by a 204 is returned and the entry is saved.

My issue seems to be identical to #42 which was fixed: #87

This is my code

Log.Logger = new LoggerConfiguration()
                .WriteTo.AzureTableStorage("UseDevelopmentStorage=true",storageTableName:"SerilogDemo",writeInBatches:false)
                .CreateLogger();

Log.Information("Error logged {errorDesc}", errorVariable);

I've also tried setting bypassTableCreationValidation:true but still get the 409s. If I set a new table name then the table is created and the 409 does not appear.

I'm using Serilog 4.00 and Serilog.Sinks.AzureTableStorage 9.7.1

Have I missed something obvious I should have done to avoid this?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant