From 12a3303211cf75c96e0e1c526b85634a14f687b5 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Wed, 16 Apr 2025 20:54:18 +0900 Subject: [PATCH] Remove watch_log_file The option was deprecated during the 2024.2 cycle[1]. Processes may fail to start when it is set to True[2] so supporting it is no longer useful. [1] 31603ac6dacd0b47ec9f02d99bfdd0a7b683119c [2] b977cb9becbeaaa67bb663bd8db5aa6846e495b9 Change-Id: Iff16deb64b2b2776aa5deab4d27247b8d58022ac --- manifests/logging.pp | 9 --------- .../notes/remove-watch_log_file-38134d535cf37731.yaml | 4 ++++ 2 files changed, 4 insertions(+), 9 deletions(-) create mode 100644 releasenotes/notes/remove-watch_log_file-38134d535cf37731.yaml diff --git a/manifests/logging.pp b/manifests/logging.pp index e6c339f60..d8d94ac1f 100644 --- a/manifests/logging.pp +++ b/manifests/logging.pp @@ -106,12 +106,6 @@ # Defaults to $facts['os_service_default'] # Example: 'Y-%m-%d %H:%M:%S' # -# DEPRECATED PARAMETERS -# -# [*watch_log_file*] -# (Optional) Uses logging handler designed to watch file system (boolean value). -# Defaults to undef -# class keystone::logging( $use_syslog = $facts['os_service_default'], $use_journal = $facts['os_service_default'], @@ -133,8 +127,6 @@ class keystone::logging( $instance_format = $facts['os_service_default'], $instance_uuid_format = $facts['os_service_default'], $log_date_format = $facts['os_service_default'], - # DEPRECATED PARAMETERS - $watch_log_file = undef, ) { include keystone::deps @@ -145,7 +137,6 @@ class keystone::logging( log_date_format => $log_date_format, log_file => $log_file, log_dir => $log_dir, - watch_log_file => $watch_log_file, use_syslog => $use_syslog, use_journal => $use_journal, use_json => $use_json, diff --git a/releasenotes/notes/remove-watch_log_file-38134d535cf37731.yaml b/releasenotes/notes/remove-watch_log_file-38134d535cf37731.yaml new file mode 100644 index 000000000..796fd86ff --- /dev/null +++ b/releasenotes/notes/remove-watch_log_file-38134d535cf37731.yaml @@ -0,0 +1,4 @@ +--- +upgrade: + - | + The ``keystone::logging::watch_log_file`` parameter has been removed.