[VOL-4395] (Part of) Added support to enable/disable per-test voltha logging in bbsim based periodic job
Change-Id: I1bd8a6388c2175c9964b997433cf4b749bea591b
diff --git a/libraries/utils.robot b/libraries/utils.robot
index a2ba7f1..46c0880 100755
--- a/libraries/utils.robot
+++ b/libraries/utils.robot
@@ -1104,8 +1104,8 @@
Start Logging
[Arguments] ${label}
[Documentation] Start logging for test ${label}
- ${kail_process}= Run Keyword If "${container_log_dir}" != "${None}" Start Process kail -n default
- ... -n voltha -n infra cwd=${container_log_dir} stdout=${label}-combined.log
+ ${kail_process}= Run Keyword If "${container_log_dir}" != "${None}" Start Process kail -n ${NAMESPACE}
+ ... -n ${INFRA_NAMESPACE} cwd=${container_log_dir} stdout=${label}-combined.log
Set Test Variable ${kail_process}
Run Keyword If ${has_dataplane} Echo Message to OLT Logs START ${label}