elastic / curator

Curator: Tending your Elasticsearch indices
Other
3.04k stars 635 forks source link

Fix wrong log level for several debug messages #1714

Closed boutetnico closed 2 months ago

boutetnico commented 2 months ago

This PR fixes some (forgotten?) debug statements logged with CRITICAL level.

Example output of a normal curator 8.0.15 run:

Jul  4 06:00:09 elk01 curator[527005]: 2024-07-04 06:00:09,741 CRITICAL  INITIAL Action kwargs: {}
Jul  4 06:00:09 elk01 curator[527005]: 2024-07-04 06:00:09,741 CRITICAL  Post search_pattern Action kwargs: {'ignore_unavailable': False, 'include_global_state': True, 'partial': False, 'repository': 'my_backup', '
skip_repo_fs_check': False, 'wait_for_completion': True, 'max_wait': -1, 'wait_interval': 9, 'name': 'curator-%Y%m%d%H%M%S'}
Jul  4 06:00:09 elk01 curator[527005]: 2024-07-04 06:00:09,886 CRITICAL  Pre Instantiation Action kwargs: {'ignore_unavailable': False, 'include_global_state': True, 'partial': False, 'repository': 'my_backup', 'sk
ip_repo_fs_check': False, 'wait_for_completion': True, 'max_wait': -1, 'wait_interval': 9, 'name': 'curator-%Y%m%d%H%M%S'}
Jul  4 06:00:37 elk01 curator[527005]: 2024-07-04 06:00:37,148 CRITICAL  INITIAL Action kwargs: {}
Jul  4 06:00:37 elk01 curator[527005]: 2024-07-04 06:00:37,148 CRITICAL  Post search_pattern Action kwargs: {'repository': 'my_backup', 'retry_interval': 120, 'retry_count': 3}
Jul  4 06:00:41 elk01 curator[527005]: 2024-07-04 06:00:41,593 CRITICAL  Pre Instantiation Action kwargs: {'retry_interval': 120, 'retry_count': 3}