diff options
author | Wei Wang <wvw@google.com> | 2017-01-12 15:32:26 -0800 |
---|---|---|
committer | Wei Wang <wvw@google.com> | 2017-01-12 22:18:46 -0800 |
commit | 677ba31db20d214ffb83e0102a9b78d811b5bf68 (patch) | |
tree | a0c4c32c78249ac3bd1709eb133827585d5cfaac /include/cutils | |
parent | dd9fa24091e28490eddeea1583f47cdc968b57f6 (diff) | |
download | system_core-677ba31db20d214ffb83e0102a9b78d811b5bf68.tar.gz system_core-677ba31db20d214ffb83e0102a9b78d811b5bf68.tar.bz2 system_core-677ba31db20d214ffb83e0102a9b78d811b5bf68.zip |
libcutils: change klog_level to KLOG_INFO_LEVEL
Some of Android componets e.g. init have migrated to use base/logging to get rid
of klog utilities. However, without explicit initilization, the default
klog_level is set to 3 which masks the logwrap output.
This patch sets default klog_level to KLOG_INFO_LEVEL to make
android_fork_execvp_ext log available.
Bug: 34256270
Test: manual
Change-Id: Ibe74707a92c954053cd0e6828a984fbd72b4acae
Diffstat (limited to 'include/cutils')
-rw-r--r-- | include/cutils/klog.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/cutils/klog.h b/include/cutils/klog.h index c837edb9a..e7cd30046 100644 --- a/include/cutils/klog.h +++ b/include/cutils/klog.h @@ -44,6 +44,4 @@ __END_DECLS #define KLOG_INFO(tag,x...) klog_write(KLOG_INFO_LEVEL, "<6>" tag ": " x) #define KLOG_DEBUG(tag,x...) klog_write(KLOG_DEBUG_LEVEL, "<7>" tag ": " x) -#define KLOG_DEFAULT_LEVEL 3 /* messages <= this level are logged */ - #endif |