-
Notifications
You must be signed in to change notification settings - Fork 694
Labels
affects/8.8Issue is affecting 8.8 minor versionsIssue is affecting 8.8 minor versionscomponent/data-layerRelated to Data Layer TeamRelated to Data Layer Teamkind/bugCategorizes an issue or PR as a bugCategorizes an issue or PR as a buglikelihood/highA recurring issueA recurring issueseverity/lowMarks a bug as having little to no noticeable impact for the userMarks a bug as having little to no noticeable impact for the userversion:8.8.0-alpha8version:8.8.0-alpha8-rc2
Description
Description
- Many INFO logs are useless logs to the end user, and need to be turned to DEBUG logs, example:
2025-08-08 08:00:15.111] [] INFO
io.camunda.search.schema.SchemaManager - Index template 'tasklist-task-variable-8.3.0_template', has been created / already exists
[2025-08-08 08:00:15.108] [] INFO
io.camunda.search.schema.SchemaManager - Index template 'operate-event-8.3.0_template', has been created / already exists
[2025-08-08 08:00:15.377] [] INFO
io.camunda.search.schema.SchemaManager - Index template 'operate-batch-operation-1.0.0_template', has been created / already exists
- Index template are always created with
create=true
which causes these logs:
[2025-08-24 18:37:57.948] [] DEBUG
io.camunda.search.schema.elasticsearch.ElasticsearchEngineClient - index template [tasklist-draft-task-variable-8.3.0_template] already exists
[2025-08-24 18:37:57.959] [] DEBUG
io.camunda.search.schema.elasticsearch.ElasticsearchEngineClient - Expected to create index [operate-event-8.3.0_], but already exist. Will continue, likely was created by a different instance.
co.elastic.clients.elasticsearch._types.ElasticsearchException: [es/indices.create] failed: [resource_already_exists_exception] index [operate-event-8.3.0_/T0gpoKM8TmG7ulUawe5Yqg] already exists
at co.elastic.clients.transport.ElasticsearchTransportBase.getApiResponse(ElasticsearchTransportBase.java:349)
at co.elastic.clients.transport.ElasticsearchTransportBase.performRequest(ElasticsearchTransportBase.java:148)
at co.elastic.clients.elasticsearch.indices.ElasticsearchIndicesClient.create(ElasticsearchIndicesClient.java:285)
Steps to reproduce
- Start C8 with empty schema
- Observe the logs
- Restart C8
- Observe the logs
Current behavior
Less noisy logs about nominal cases
Expected behavior
Less noise in the logs for nominal cases
Environment
SM
Version
- Component Version: 8.8
Solution ideas
- use DEBUG logs when it is not useful for the end user
- check index templates and related indices exist before creating them (as we do for the indices without templates)
Links
Metadata
Metadata
Assignees
Labels
affects/8.8Issue is affecting 8.8 minor versionsIssue is affecting 8.8 minor versionscomponent/data-layerRelated to Data Layer TeamRelated to Data Layer Teamkind/bugCategorizes an issue or PR as a bugCategorizes an issue or PR as a buglikelihood/highA recurring issueA recurring issueseverity/lowMarks a bug as having little to no noticeable impact for the userMarks a bug as having little to no noticeable impact for the userversion:8.8.0-alpha8version:8.8.0-alpha8-rc2