From c0ee8cbcbf98698411e3618b95b1d8c7676c76ad Mon Sep 17 00:00:00 2001 From: Assaf Muller Date: Tue, 8 Sep 2015 10:48:11 -0400 Subject: [PATCH] Add oslo rootwrap daemon logging during functional tests Change-Id: Ie688a1df6e256c0195b8f3937228f65c0463e9c3 Closes-Bug: #1493396 --- tools/deploy_rootwrap.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/deploy_rootwrap.sh b/tools/deploy_rootwrap.sh index 0009a42e2b9..27d9a36f643 100755 --- a/tools/deploy_rootwrap.sh +++ b/tools/deploy_rootwrap.sh @@ -51,6 +51,8 @@ sed -i "s:^filters_path=.*$:filters_path=${dst_rootwrap_path}:" ${dst_conf} sed -i "s:^\(exec_dirs=.*\)$:\1,${target_bin_path}:" ${dst_conf} if [[ "$OS_SUDO_TESTING" = "1" ]]; then + sed -i 's/use_syslog=False/use_syslog=True/g' ${dst_conf} + sed -i 's/syslog_log_level=ERROR/syslog_log_level=DEBUG/g' ${dst_conf} cp -p ${neutron_path}/neutron/tests/contrib/functional-testing.filters \ ${dst_rootwrap_path}/ fi