From 17845d773ce4af5841ba0aef893319abe7eff774 Mon Sep 17 00:00:00 2001 From: Jason Yoo Date: Thu, 28 Nov 2024 22:14:42 +0900 Subject: [PATCH] chore: remove logging --- .../infra/adapter/out/web/GovernmentOpenDataService.kt | 7 ------- 1 file changed, 7 deletions(-) diff --git a/app-server/subprojects/bounded_context/place/infra/src/main/kotlin/club/staircrusher/place/infra/adapter/out/web/GovernmentOpenDataService.kt b/app-server/subprojects/bounded_context/place/infra/src/main/kotlin/club/staircrusher/place/infra/adapter/out/web/GovernmentOpenDataService.kt index 327977b0e..07b01d12f 100644 --- a/app-server/subprojects/bounded_context/place/infra/src/main/kotlin/club/staircrusher/place/infra/adapter/out/web/GovernmentOpenDataService.kt +++ b/app-server/subprojects/bounded_context/place/infra/src/main/kotlin/club/staircrusher/place/infra/adapter/out/web/GovernmentOpenDataService.kt @@ -7,7 +7,6 @@ import club.staircrusher.stdlib.di.annotation.Component import club.staircrusher.stdlib.geography.CrsConverter import club.staircrusher.stdlib.geography.CrsType import club.staircrusher.stdlib.geography.Location -import mu.KotlinLogging import org.springframework.web.bind.annotation.RequestParam import org.springframework.web.service.annotation.GetExchange import java.time.LocalDate @@ -16,7 +15,6 @@ import java.time.LocalDate class GovernmentOpenDataService( private val properties: GovernmentOpenDataProperties, ) : OpenDataService { - private val logger = KotlinLogging.logger {} private val localDataService = createExternalApiService( baseUrl = "http://www.localdata.go.kr/platform/rest/TO0", defaultHeadersBlock = {}, @@ -38,9 +36,6 @@ class GovernmentOpenDataService( opnSvcId = CAFE_CODE, ) - logger.info("Closed restaurant response: $restaurantResponse") - logger.info("Closed cafe response: $cafeResponse") - val closedRestaurants = restaurantResponse.result.body?.rows?.get(0)?.row?.mapNotNull { it.toDTO() } ?: emptyList() @@ -49,8 +44,6 @@ class GovernmentOpenDataService( it.toDTO() } ?: emptyList() - logger.info { "Closed place candidates from external place: ${closedRestaurants + closedCafe}" } - return closedRestaurants + closedCafe }