Skip to content

Commit

Permalink
chore: remove logging
Browse files Browse the repository at this point in the history
  • Loading branch information
jyoo0515 committed Nov 28, 2024
1 parent 30cd06f commit 17845d7
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -16,7 +15,6 @@ import java.time.LocalDate
class GovernmentOpenDataService(
private val properties: GovernmentOpenDataProperties,
) : OpenDataService {
private val logger = KotlinLogging.logger {}
private val localDataService = createExternalApiService<LocalDataApiClient>(
baseUrl = "http://www.localdata.go.kr/platform/rest/TO0",
defaultHeadersBlock = {},
Expand All @@ -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()
Expand All @@ -49,8 +44,6 @@ class GovernmentOpenDataService(
it.toDTO()
} ?: emptyList()

logger.info { "Closed place candidates from external place: ${closedRestaurants + closedCafe}" }

return closedRestaurants + closedCafe
}

Expand Down

0 comments on commit 17845d7

Please sign in to comment.