log
This commit is contained in:
parent
7e1932bf20
commit
9c8dd1fb06
@ -1,7 +1,7 @@
|
||||
{
|
||||
"Serilog": {
|
||||
"MinimumLevel": {
|
||||
"Default": "Information",
|
||||
"Default": "Debug",
|
||||
"Override": {
|
||||
"Microsoft.AspNetCore": "Information"
|
||||
}
|
||||
|
||||
@ -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
|
||||
});
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user