Accept empty strings for log_dir
An empty string is an acceptable value of this entry, and it forces logging to stdout/stderr, which is useful when running on containers. Change-Id: I9d5b4e6c0fb0fa238e9a12494790c0fa5a83dd5b
This commit is contained in:
parent
ade98626f7
commit
bb1b04b4e7
@ -125,7 +125,11 @@ class neutron::logging (
|
||||
$use_syslog_real = pick($::neutron::use_syslog,$use_syslog)
|
||||
$use_stderr_real = pick($::neutron::use_stderr,$use_stderr)
|
||||
$log_file_real = pick($::neutron::log_file,$log_file)
|
||||
if $log_dir != '' {
|
||||
$log_dir_real = pick($::neutron::log_dir,$log_dir)
|
||||
} else {
|
||||
$log_dir_real = $log_dir
|
||||
}
|
||||
|
||||
oslo::log { 'neutron_config':
|
||||
debug => $debug_real,
|
||||
|
Loading…
Reference in New Issue
Block a user