From 05b4c23fbf153fee1c3bda1450c45d2c66b72bae Mon Sep 17 00:00:00 2001 From: Kazumasa Mitsunari Date: Thu, 20 Dec 2018 09:34:15 +0900 Subject: Make it easier to see journal log for debug When we set USE_HMI_DEBUG=5 in environment variable, a lot of logs of policy manager displayed. This patch decrease log level of DUMP macro. If we don't need to get policy decision procedure logs or tracing on debug, set USE_HMI_DEBUG=4. Change-Id: Iaa2f2efc68adcece8c6aef44be6a683c7c2a0dee Signed-off-by: Kazumasa Mitsunari --- src/util.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util.hpp b/src/util.hpp index 077f212..65b29e0 100644 --- a/src/util.hpp +++ b/src/util.hpp @@ -36,7 +36,7 @@ #define HMI_SEQ_INFO(seq_num, args,...) _HMI_SEQ_LOG(LOG_LEVEL_INFO, __FILENAME__, __FUNCTION__, __LINE__, seq_num, args, ##__VA_ARGS__) #define HMI_SEQ_DEBUG(seq_num, args,...) _HMI_SEQ_LOG(LOG_LEVEL_DEBUG, __FILENAME__, __FUNCTION__, __LINE__, seq_num, args, ##__VA_ARGS__) -#define DUMP(args, ...) _DUMP(LOG_LEVEL_DEBUG, args, ##__VA_ARGS__) +#define DUMP(args, ...) _DUMP(LOG_LEVEL_INFO, args, ##__VA_ARGS__) enum LOG_LEVEL{ LOG_LEVEL_NONE = 0, -- cgit 1.2.3-korg