mirror of
https://github.com/meysamhadeli/booking-microservices.git
synced 2026-04-11 10:32:09 +08:00
remove unnecessary config for index-format-elastic
This commit is contained in:
parent
c97229e5ce
commit
571bf04cef
@ -44,8 +44,7 @@ namespace BuildingBlocks.Logging
|
||||
new ElasticsearchSinkOptions(new Uri(logOptions.Elastic.ElasticServiceUrl))
|
||||
{
|
||||
AutoRegisterTemplate = true,
|
||||
IndexFormat =
|
||||
$"{appOptions.Name}-{environment?.ToLower().Replace(".", "-")}-{DateTime.UtcNow:yyyy-MM}"
|
||||
IndexFormat = $"{appOptions.Name}-{environment?.ToLower()}"
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user