From c8beaa18c4f80a1def67d1c92ab273c195e67320 Mon Sep 17 00:00:00 2001 From: Fahim Salam Chowdhury Date: Thu, 1 Jun 2023 18:54:09 +0600 Subject: [PATCH] Fix log level in inputStreamBinder --- .../java/com/nextcloud/android/sso/InputStreamBinder.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/nextcloud/android/sso/InputStreamBinder.java b/app/src/main/java/com/nextcloud/android/sso/InputStreamBinder.java index 3b81f2339..e0d2016cb 100644 --- a/app/src/main/java/com/nextcloud/android/sso/InputStreamBinder.java +++ b/app/src/main/java/com/nextcloud/android/sso/InputStreamBinder.java @@ -129,7 +129,7 @@ public class InputStreamBinder extends IInputStreamService.Stub { InputStream resultStream = new java.io.SequenceInputStream(exceptionStream, response.getBody()); return ParcelFileDescriptorUtil.pipeFrom(resultStream, - thread -> Logger.INSTANCE.getLog().log(Level.SEVERE, "InputStreamBinder: Done sending result"), + thread -> Logger.INSTANCE.getLog().log(Level.INFO, "InputStreamBinder: Done sending result"), response.getMethod()); } catch (IOException e) { Logger.INSTANCE.getLog().log(Level.SEVERE, "Error while sending response back to client app", e); @@ -373,7 +373,7 @@ public class InputStreamBinder extends IInputStreamService.Stub { // If response body is available if (inputStream != null) { total = inputStreamToString(inputStream); - Logger.INSTANCE.getLog().log(Level.SEVERE, "InputStreamBinder: " + total); + Logger.INSTANCE.getLog().log(Level.INFO, "InputStreamBinder: " + total); } method.releaseConnection(); -- GitLab