diff options
author | Mert Tumer <mert.tumer@collabora.com> | 2021-09-15 14:18:38 +0300 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2021-09-15 18:15:49 +0200 |
commit | c0154fcd80bedb6ba2694ff1807be7aedc779e08 (patch) | |
tree | 25bf437c9f6ee7a1c5a80c0a0c17e62430eac9fe | |
parent | Translated using Weblate (French) (diff) | |
download | online-c0154fcd80bedb6ba2694ff1807be7aedc779e08.tar.gz online-c0154fcd80bedb6ba2694ff1807be7aedc779e08.zip |
android: Decrease Logging level to information for release
Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: Ib5dd0f28071285df3eecc8803a46b7156eabc044
-rw-r--r-- | android/lib/src/main/cpp/androidapp.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/android/lib/src/main/cpp/androidapp.cpp b/android/lib/src/main/cpp/androidapp.cpp index a6efa4a376..471b37a672 100644 --- a/android/lib/src/main/cpp/androidapp.cpp +++ b/android/lib/src/main/cpp/androidapp.cpp @@ -53,9 +53,11 @@ JNI_OnLoad(JavaVM* vm, void*) { // Uncomment the following to see the logs from the core too //setenv("SAL_LOG", "+WARN+INFO", 0); - +#if ENABLE_DEBUG Log::initialize("Mobile", "debug", false, false, {}); - +#else + Log::initialize("Mobile", "information", false, false, {}); +#endif return JNI_VERSION_1_6; } |