From bc441675c2ab64fcf51088a31909d0fb0ec932df Mon Sep 17 00:00:00 2001 From: zhongchao Date: Mon, 28 Mar 2022 00:01:02 +0800 Subject: [PATCH] change the trace and logger to different way --- app/build.gradle | 13 +++++++------ gradle.properties | 8 ++++---- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 331e4262b3..66a4af0052 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -15,12 +15,13 @@ if (!isAndroidTestBuild()) { logLevel "DEBUG" } } -//if (!isAndroidTestBuild()) { -// apply plugin: 'chain.log.hook' -// hooklog{ -// enableLoggerToServer true -// } -//} +if (!isAndroidTestBuild()) { + apply plugin: 'chain.log.hook' + hooklog{ + enableTraceToServer false + enableLoggerToLocal true + } +} //if (!isAndroidTestBuild()) { // apply plugin: 'apm-plugin' diff --git a/gradle.properties b/gradle.properties index 017d71ea9c..8e195ba120 100644 --- a/gradle.properties +++ b/gradle.properties @@ -56,13 +56,13 @@ bytex.forbidUseLenientMutationDuringGetArtifact=true bytex.verifyProguardConfigurationChanged=false bytex.ASM_API=ASM7 -HOOK_LOG_VERSION=1.5.17 -SERVICE_CHAIN_VERSION=1.0.53 +HOOK_LOG_VERSION=1.6.1 +SERVICE_CHAIN_VERSION=1.1.0 ################ 外部依赖引用 ################ # loglib -LOGLIB_VERSION=1.2.22 +LOGLIB_VERSION=1.2.23 ######## MogoAiCloudSDK Version ######## -# 网络请求 +# 网络请求LOGLIB_VERSION MOGO_NETWORK_VERSION=1.3.50 # 鉴权 MOGO_PASSPORT_VERSION=1.3.50