We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Using Serilog.Sinks.MongoDB 7.0.0, the program immediatelly hangs forever when using:
services.AddSerilog((sp, cfg) => { var mongoDatabase = sp.GetRequiredService<IMongoDatabase>(); const string loggingCollectionName = "Logs"; cfg.WriteTo.MongoDBCapped(mongoDatabase, collectionName: loggingCollectionName); }, writeToProviders: true);
Not good. Commenting out cfg.WriteTo.MongoDBCapped leads the program to work as expected. Any ideas?
cfg.WriteTo.MongoDBCapped
Serilog.Sinks.Async does not fix it. It must be a MongoDB sink specific problem.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Using Serilog.Sinks.MongoDB 7.0.0, the program immediatelly hangs forever when using:
Not good. Commenting out
cfg.WriteTo.MongoDBCapped
leads the program to work as expected. Any ideas?Serilog.Sinks.Async does not fix it. It must be a MongoDB sink specific problem.
The text was updated successfully, but these errors were encountered: