From 177de83920da6f05a705800db594224cd133f96a Mon Sep 17 00:00:00 2001 From: iliyangermanov Date: Sun, 1 Dec 2024 00:18:54 +0200 Subject: [PATCH] Improve logs --- .../src/main/kotlin/ivy/learn/domain/auth/GoogleOAuthUseCase.kt | 2 +- server/src/main/resources/logback.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/main/kotlin/ivy/learn/domain/auth/GoogleOAuthUseCase.kt b/server/src/main/kotlin/ivy/learn/domain/auth/GoogleOAuthUseCase.kt index a23580d3..d5384fed 100644 --- a/server/src/main/kotlin/ivy/learn/domain/auth/GoogleOAuthUseCase.kt +++ b/server/src/main/kotlin/ivy/learn/domain/auth/GoogleOAuthUseCase.kt @@ -32,7 +32,7 @@ class GoogleOAuthUseCase( names = userInfoResponse.name, profilePictureUrl = userInfoResponse.picture, ).also { - + logger.info("Google verification succeeded for $it") } } diff --git a/server/src/main/resources/logback.xml b/server/src/main/resources/logback.xml index 1eb549c6..be7c489f 100644 --- a/server/src/main/resources/logback.xml +++ b/server/src/main/resources/logback.xml @@ -2,7 +2,7 @@ - %d{yyyy-MM-dd HH:mm:ss} %-5level [%thread] %logger{36} - %msg%n + %d{yyyy-MM-dd HH:mm:ss} %-5level: %msg%n