log
This commit is contained in:
parent
7e1932bf20
commit
9c8dd1fb06
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"Serilog": {
|
"Serilog": {
|
||||||
"MinimumLevel": {
|
"MinimumLevel": {
|
||||||
"Default": "Information",
|
"Default": "Debug",
|
||||||
"Override": {
|
"Override": {
|
||||||
"Microsoft.AspNetCore": "Information"
|
"Microsoft.AspNetCore": "Information"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -28,8 +28,8 @@ public class TrackCenterRepositoryModule : FakeModule
|
|||||||
context.Services.Configure<ElasticSearchOptions>(options =>
|
context.Services.Configure<ElasticSearchOptions>(options =>
|
||||||
{
|
{
|
||||||
configuration.GetSection("ElasticSearch").Bind(options);
|
configuration.GetSection("ElasticSearch").Bind(options);
|
||||||
#if !DEBUG
|
#if DEBUG
|
||||||
options.ShowLogInfo = false;
|
options.ShowLogInfo = true;
|
||||||
#endif
|
#endif
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user