[VOL-4395] Updated enable/disable per-test voltha logging in bbsim based periodic jobs

Change-Id: I1e2719577e89dd45e254878c58471bb987b64798
diff --git a/jjb/pipeline/voltha/master/bbsim-tests.groovy b/jjb/pipeline/voltha/master/bbsim-tests.groovy
index 2423d23..4c88e46 100755
--- a/jjb/pipeline/voltha/master/bbsim-tests.groovy
+++ b/jjb/pipeline/voltha/master/bbsim-tests.groovy
@@ -232,9 +232,13 @@
               def workflow = test["workflow"]
               def flags = test["flags"]
               def teardown = test["teardown"].toBoolean()
-              def logging = test["logging"]
-              println "Executing test ${target} on workflow ${workflow} with logging ${logging} and extra flags ${flags}"
-              execute_test(target, workflow, logging, teardown, flags)
+              def logging = test["logging"].toBoolean()
+              def testLogging = 'False'
+              if (logging) {
+                  testLogging = 'True'
+              }
+              println "Executing test ${target} on workflow ${workflow} with logging ${testLogging} and extra flags ${flags}"
+              execute_test(target, workflow, testLogging, teardown, flags)
             }
           }
         }