diff options
author | Kazumasa Mitsunari <knimitz@witz-inc.co.jp> | 2018-12-20 09:34:15 +0900 |
---|---|---|
committer | Kazumasa Mitsunari <knimitz@witz-inc.co.jp> | 2018-12-21 07:29:22 +0000 |
commit | 05b4c23fbf153fee1c3bda1450c45d2c66b72bae (patch) | |
tree | b5b516034274944cf64a46b0313eed1300334883 | |
parent | ed7ed1fd33a14c7d593e1c09499ca47365946e0f (diff) |
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 <knimitz@witz-inc.co.jp>
-rw-r--r-- | src/util.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
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, |