From ffa154c77a179797a04807ad8d13e56aca3001f0 Mon Sep 17 00:00:00 2001 From: Alex Schultz <aschultz@redhat.com> Date: Thu, 8 Sep 2016 17:52:32 -0600 Subject: [PATCH] Update log_file documentation log_file should be set to $::os_service_default and not to the boolean false because the boolean false gets interpreted as a file name. Change-Id: I2b7f3ad6f04b24e357948bd23782b89764e632e5 --- manifests/api.pp | 2 +- manifests/api/logging.pp | 1 + manifests/registry.pp | 2 +- manifests/registry/logging.pp | 1 + 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/manifests/api.pp b/manifests/api.pp index b4bc9a8b..4db8cf7a 100644 --- a/manifests/api.pp +++ b/manifests/api.pp @@ -31,7 +31,7 @@ # # [*log_file*] # (optional) The path of file used for logging -# If set to boolean false, it will not log to any file. +# If set to $::os_service_default, it will not log to any file. # Default: undef # # [*log_dir*] diff --git a/manifests/api/logging.pp b/manifests/api/logging.pp index 34cbc335..6e9dbd22 100644 --- a/manifests/api/logging.pp +++ b/manifests/api/logging.pp @@ -27,6 +27,7 @@ # # [*log_file*] # (optional) File where logs should be stored. +# If set to $::os_service_default, it will not log to any file. # Defaults to '/var/log/glance/api.log'. # # [*logging_context_format_string*] diff --git a/manifests/registry.pp b/manifests/registry.pp index 7d89201b..b1ed97f0 100644 --- a/manifests/registry.pp +++ b/manifests/registry.pp @@ -26,7 +26,7 @@ # # [*log_file*] # (optional) Log file for glance-registry. -# If set to boolean false, it will not log to any file. +# If set to $::os_service_default, it will not log to any file. # Defaults to undef. # # [*log_dir*] diff --git a/manifests/registry/logging.pp b/manifests/registry/logging.pp index 105d109b..addfec36 100644 --- a/manifests/registry/logging.pp +++ b/manifests/registry/logging.pp @@ -27,6 +27,7 @@ # # [*log_file*] # (optional) File where logs should be stored. +# If set to $::os_service_default, it will not log to any file. # Defaults to '/var/log/glance/registry.log'. # # [*logging_context_format_string*]