Skip to content

Commit e4e535b

Browse files
committed
Ensure syslog option is honored by neutron and tempest
Syslog settings were not configured at all for these two projects. As a result, regardless of the value of the SYSLOG environment variable, the use_syslog options for these two projects was always set to False. Change-Id: Iba6155d62beffa06e5bb9ac16b06082ec64d0926 Closes-Bug: #1394024
1 parent 3f054b4 commit e4e535b

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

lib/neutron

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -785,7 +785,7 @@ function _configure_neutron_common {
785785

786786
iniset $NEUTRON_CONF database connection `database_connection_url $Q_DB_NAME`
787787
iniset $NEUTRON_CONF DEFAULT state_path $DATA_DIR/neutron
788-
788+
iniset $NEUTRON_CONF DEFAULT use_syslog $SYSLOG
789789
# If addition config files are set, make sure their path name is set as well
790790
if [[ ${#Q_PLUGIN_EXTRA_CONF_FILES[@]} > 0 && $Q_PLUGIN_EXTRA_CONF_PATH == '' ]]; then
791791
die $LINENO "Neutron additional plugin config not set.. exiting"

lib/tempest

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ function configure_tempest {
247247
fi
248248
fi
249249

250+
iniset $TEMPEST_CONF DEFAULT use_syslog $SYSLOG
250251
# Oslo
251252
iniset $TEMPEST_CONFIG DEFAULT lock_path $TEMPEST_STATE_PATH
252253
mkdir -p $TEMPEST_STATE_PATH

0 commit comments

Comments
 (0)