Code Review
/
apps
/
agl-service-windowmanager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
ed7ed1f
)
Make it easier to see journal log for debug
73/19173/3
author
Kazumasa Mitsunari
<knimitz@witz-inc.co.jp>
Thu, 20 Dec 2018 00:34:15 +0000
(09:34 +0900)
committer
Kazumasa Mitsunari
<knimitz@witz-inc.co.jp>
Fri, 21 Dec 2018 07:29:22 +0000
(07:29 +0000)
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>
src/util.hpp
patch
|
blob
|
history
diff --git
a/src/util.hpp
b/src/util.hpp
index
077f212
..
65b29e0
100644
(file)
--- 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,