5.4.8 change tracing default to false and add case where mistake in config also set... 89/5189/1
authoraa7133@att.com <aa7133@att.com>
Sun, 29 Nov 2020 11:48:25 +0000 (13:48 +0200)
committeraa7133@att.com <aa7133@att.com>
Sun, 29 Nov 2020 11:48:48 +0000 (13:48 +0200)
Change-Id: Idd9eef627bff529ff94a38d0dd2312b7ed1efce1
Signed-off-by: aa7133@att.com <aa7133@att.com>
RIC-E2-TERMINATION/container-tag.yaml
RIC-E2-TERMINATION/sctpThread.cpp

index 5541c2f..b71c44e 100644 (file)
@@ -1,3 +1,3 @@
 # The Jenkins job requires a tag to build the Docker image.
 # Global-JJB script assumes this file is in the repo root.
-tag: 5.4.7
+tag: 5.4.8
index be75cd7..ae37ee5 100644 (file)
@@ -52,7 +52,7 @@ BOOST_LOG_INLINE_GLOBAL_LOGGER_DEFAULT(my_logger, src::logger_mt)
 
 boost::shared_ptr<sinks::synchronous_sink<sinks::text_file_backend>> boostLogger;
 double cpuClock = 0.0;
-bool jsonTrace = true;
+bool jsonTrace = false;
 
 void init_log() {
     mdclog_attr_t *attr;
@@ -241,6 +241,9 @@ int buildConfiguration(sctp_params_t &sctpParams) {
     } else if ((tmpStr.compare("stop")) == 0) {
         mdclog_write(MDCLOG_INFO, "Trace set to: stop");
         sctpParams.trace = false;
+    } else {
+        mdclog_write(MDCLOG_ERR, "Trace was set to wrong value %s, set to stop", tmpStr.c_str());
+        sctpParams->trace = false;
     }
     jsonTrace = sctpParams.trace;