This commit is contained in:
xiaolipro 2025-09-22 15:32:57 +08:00
parent 7e1932bf20
commit 9c8dd1fb06
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
{
"Serilog": {
"MinimumLevel": {
"Default": "Information",
"Default": "Debug",
"Override": {
"Microsoft.AspNetCore": "Information"
}

View File

@ -28,8 +28,8 @@ public class TrackCenterRepositoryModule : FakeModule
context.Services.Configure<ElasticSearchOptions>(options =>
{
configuration.GetSection("ElasticSearch").Bind(options);
#if !DEBUG
options.ShowLogInfo = false;
#if DEBUG
options.ShowLogInfo = true;
#endif
});
}