diff options
author | Khalid Zubair <kzubair@cyngn.com> | 2015-10-07 16:23:06 -0700 |
---|---|---|
committer | Cosme Domínguez Díaz <cosme.ddiaz@gmail.com> | 2018-05-14 19:20:08 +0200 |
commit | a17f7331b757e330c9b0c12d19ae98806d4ccec1 (patch) | |
tree | b51c4ea353e080435743a339c8c9f8f2d1830cc2 | |
parent | b7142a05b9dfe0132cb1bd0ce6f8d932dd82656a (diff) |
msm8996-common: gps: decrease log priority function tracing
Some location libraries are spamming logcat with function traces.
Decrease the priority of these logs to prevent them from flooding
logcat.
Change-Id: I7b105684c8c9ba0ce67e5302bb7a003f1af7c90d
-rw-r--r-- | gps/utils/log_util.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gps/utils/log_util.h b/gps/utils/log_util.h index 7eb338a..d3baa1f 100644 --- a/gps/utils/log_util.h +++ b/gps/utils/log_util.h @@ -158,13 +158,13 @@ extern char* get_timestamp(char* str, unsigned long buf_size); // Used for logging callflow from Android Framework -#define ENTRY_LOG_CALLFLOW() LOG_I(FROM_AFW, __FUNCTION__, %s, "") +#define ENTRY_LOG_CALLFLOW() LOG_V(FROM_AFW, __FUNCTION__, %s, "") // Used for logging callflow to Modem -#define EXIT_LOG_CALLFLOW(SPEC, VAL) LOG_I(TO_MODEM, __FUNCTION__, SPEC, VAL) +#define EXIT_LOG_CALLFLOW(SPEC, VAL) LOG_V(TO_MODEM, __FUNCTION__, SPEC, VAL) // Used for logging callflow from Modem(TO_MODEM, __FUNCTION__, %s, "") -#define MODEM_LOG_CALLFLOW(SPEC, VAL) LOG_I(FROM_MODEM, __FUNCTION__, SPEC, VAL) +#define MODEM_LOG_CALLFLOW(SPEC, VAL) LOG_V(FROM_MODEM, __FUNCTION__, SPEC, VAL) // Used for logging callflow to Android Framework -#define CALLBACK_LOG_CALLFLOW(CB, SPEC, VAL) LOG_I(TO_AFW, CB, SPEC, VAL) +#define CALLBACK_LOG_CALLFLOW(CB, SPEC, VAL) LOG_V(TO_AFW, CB, SPEC, VAL) #ifdef __cplusplus } |