From 82acc16b676b3ac536099fbe64801e59f56ff192 Mon Sep 17 00:00:00 2001
From: Botond Baranyi <botond.baranyi@ericsson.com>
Date: Tue, 15 Sep 2020 16:19:39 +0200
Subject: [PATCH] Changed the log category of 'rnd()' messages to
 DEBUG_UNQUALIFIED (bug 566908)

Signed-off-by: Botond Baranyi <botond.baranyi@ericsson.com>
Change-Id: I4dc2b70cd023aedc51de4596b2bc99c8e56dcc50
---
 core/LoggerPluginManager.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/LoggerPluginManager.cc b/core/LoggerPluginManager.cc
index ac4d10ba8..ce7b17012 100644
--- a/core/LoggerPluginManager.cc
+++ b/core/LoggerPluginManager.cc
@@ -1245,10 +1245,10 @@ void LoggerPluginManager::log_matching_timeout(const char *timer_name)
 
 void LoggerPluginManager::log_random(int action, double v, unsigned long u)
 {
-  if (!TTCN_Logger::log_this_event(TTCN_Logger::FUNCTION_RND) && (TTCN_Logger::get_emergency_logging()<=0))
+  if (!TTCN_Logger::log_this_event(TTCN_Logger::DEBUG_UNQUALIFIED) && (TTCN_Logger::get_emergency_logging()<=0))
     return;
   API::TitanLogEvent event;
-  fill_common_fields(event, TTCN_Logger::FUNCTION_RND);
+  fill_common_fields(event, TTCN_Logger::DEBUG_UNQUALIFIED);
 
   API::FunctionEvent_choice_random &r = event.logEvent().choice().functionEvent().choice().random();
   r.operation()= action;
-- 
GitLab