]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Add oslo rootwrap daemon logging during functional tests
authorAssaf Muller <amuller@redhat.com>
Tue, 8 Sep 2015 14:48:11 +0000 (10:48 -0400)
committerAssaf Muller <amuller@redhat.com>
Tue, 8 Sep 2015 14:48:11 +0000 (10:48 -0400)
Change-Id: Ie688a1df6e256c0195b8f3937228f65c0463e9c3
Closes-Bug: #1493396

tools/deploy_rootwrap.sh

index 0009a42e2b9a17fa3c22062de5bc7076fbff4a3a..27d9a36f643320256d58b3ea339a281e7398056e 100755 (executable)
@@ -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