Use default logging format in Tobiko logs

Devstack's function "setup_logging" is setting format of log lines
to be correct in systemd and that works for services like Nova or
Neutron well in the CI when Devstack is used.
But for Tobiko logs it logs entries without timestamps which sometimes
can make debugging of the issues harder.

So this commit is removing call to setup_logging function in the
Tobiko's devstack plugin. Lets use default log format provided by the
oslo_log.

Change-Id: I4930d103b331258852b94243f61791e532b1c048
This commit is contained in:
Slawek Kaplonski 2020-08-07 14:28:07 +02:00
parent d4b26b98cf
commit 84ba0d7681
1 changed files with 0 additions and 1 deletions

View File

@ -63,7 +63,6 @@ function configure_tobiko_default {
echo_summary "Write [DEFAULT] section to ${TOBIKO_CONF_FILE}"
local tobiko_conf_file=$1
setup_logging "${tobiko_conf_file}"
iniset ${tobiko_conf_file} DEFAULT debug "${TOBIKO_DEBUG}"
iniset ${tobiko_conf_file} DEFAULT log_dir $(dirname "${TOBIKO_LOG_FILE}")
iniset ${tobiko_conf_file} DEFAULT log_file $(basename "${TOBIKO_LOG_FILE}")