diff --git a/logs/info.log b/logs/info.log index 3e1d0e2..1ba2b2d 100644 --- a/logs/info.log +++ b/logs/info.log @@ -444,3 +444,38 @@ Error starting ApplicationContext. To display the condition evaluation report re [2023-09-17 02:15:44:53383][SpringApplicationShutdownHook] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default' [2023-09-17 02:15:44:53384][SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Shutdown initiated... [2023-09-17 02:15:44:53451][SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Shutdown completed. +[2023-09-17 15:37:22:340][background-preinit] INFO o.h.validator.internal.util.Version - HV000001: Hibernate Validator 8.0.1.Final +[2023-09-17 15:37:23:989][main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Bootstrapping Spring Data JPA repositories in DEFAULT mode. +[2023-09-17 15:37:23:1038][main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 43 ms. Found 6 JPA repository interfaces. +[2023-09-17 15:37:23:1332][main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat initialized with port(s): 8080 (http) +[2023-09-17 15:37:23:1336][main] INFO o.a.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8080"] +[2023-09-17 15:37:23:1337][main] INFO o.a.catalina.core.StandardService - Starting service [Tomcat] +[2023-09-17 15:37:23:1337][main] INFO o.a.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.11] +[2023-09-17 15:37:23:1380][main] INFO o.a.c.c.C.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext +[2023-09-17 15:37:23:1380][main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 970 ms +[2023-09-17 15:37:23:1449][main] INFO o.h.jpa.internal.util.LogHelper - HHH000204: Processing PersistenceUnitInfo [name: default] +[2023-09-17 15:37:23:1479][main] INFO org.hibernate.Version - HHH000412: Hibernate ORM core version 6.2.6.Final +[2023-09-17 15:37:23:1481][main] INFO org.hibernate.cfg.Environment - HHH000406: Using bytecode reflection optimizer +[2023-09-17 15:37:23:1544][main] INFO o.h.b.i.BytecodeProviderInitiator - HHH000021: Bytecode provider name : bytebuddy +[2023-09-17 15:37:23:1614][main] INFO o.s.o.j.p.SpringPersistenceUnitInfo - No LoadTimeWeaver setup: ignoring JPA class transformer +[2023-09-17 15:37:23:1622][main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting... +[2023-09-17 15:37:24:2210][main] INFO com.zaxxer.hikari.pool.HikariPool - HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@70169464 +[2023-09-17 15:37:24:2213][main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed. +[2023-09-17 15:37:24:2421][main] INFO o.h.b.i.BytecodeProviderInitiator - HHH000021: Bytecode provider name : bytebuddy +[2023-09-17 15:37:25:2770][main] INFO o.h.e.t.j.p.i.JtaPlatformInitiator - HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +[2023-09-17 15:37:26:4599][main] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean - Initialized JPA EntityManagerFactory for persistence unit 'default' +[2023-09-17 15:37:27:4934][main] INFO o.s.s.web.DefaultSecurityFilterChain - Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@38a2fbc3, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@318ff889, org.springframework.security.web.context.SecurityContextHolderFilter@5e9c6d8a, org.springframework.security.web.header.HeaderWriterFilter@7ce09850, org.springframework.security.web.authentication.logout.LogoutFilter@60f6c148, briefing.security.filter.JwtRequestFilter@5409305f, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@ddd0e97, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@4101d2c7, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@7e753fd6, org.springframework.security.web.session.SessionManagementFilter@3e216fc9, org.springframework.security.web.access.ExceptionTranslationFilter@6608072d] +[2023-09-17 15:37:27:5208][main] INFO o.s.s.web.DefaultSecurityFilterChain - Will not secure Mvc [pattern=''] +[2023-09-17 15:37:27:5208][main] INFO o.s.s.web.DefaultSecurityFilterChain - Will not secure Mvc [pattern='/'] +[2023-09-17 15:37:27:5208][main] INFO o.s.s.web.DefaultSecurityFilterChain - Will not secure Mvc [pattern='/schedule'] +[2023-09-17 15:37:27:5208][main] INFO o.s.s.web.DefaultSecurityFilterChain - Will not secure Mvc [pattern='/swagger-ui.html'] +[2023-09-17 15:37:27:5208][main] INFO o.s.s.web.DefaultSecurityFilterChain - Will not secure Mvc [pattern='/v3/api-docs'] +[2023-09-17 15:37:27:5208][main] INFO o.s.s.web.DefaultSecurityFilterChain - Will not secure Mvc [pattern='/v3/api-docs/**'] +[2023-09-17 15:37:27:5208][main] INFO o.s.s.web.DefaultSecurityFilterChain - Will not secure Mvc [pattern='/swagger-ui/index.html'] +[2023-09-17 15:37:27:5208][main] INFO o.s.s.web.DefaultSecurityFilterChain - Will not secure Mvc [pattern='/swagger-ui/**'] +[2023-09-17 15:37:27:5208][main] INFO o.s.s.web.DefaultSecurityFilterChain - Will not secure Mvc [pattern='/docs/**'] +[2023-09-17 15:37:27:5322][main] INFO o.a.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8080"] +[2023-09-17 15:37:27:5332][main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat started on port(s): 8080 (http) with context path '' +[2023-09-17 15:37:29:7437][SpringApplicationShutdownHook] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default' +[2023-09-17 15:37:29:7438][SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Shutdown initiated... +[2023-09-17 15:37:30:7688][SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Shutdown completed. diff --git a/src/main/java/briefing/exception/ErrorCode.java b/src/main/java/briefing/exception/ErrorCode.java index bdd66cf..0d9e598 100644 --- a/src/main/java/briefing/exception/ErrorCode.java +++ b/src/main/java/briefing/exception/ErrorCode.java @@ -34,7 +34,7 @@ public enum ErrorCode { // oauth 에러 APPLE_BAD_REQUEST(BAD_REQUEST, "OAUTH001", "애플 토큰이 잘못되었습니다."), APPLE_SERVER_ERROR(FORBIDDEN, "OAUTH002", "애플 서버와 통신에 실패 하였습니다."), - FAIL_TO_MAKE_APPLE_PUBLIC_KEY(BAD_REQUEST, "OAUTH003", "새로운 애플 공개키 생성에 실패하였습니다.") + FAIL_TO_MAKE_APPLE_PUBLIC_KEY(BAD_REQUEST, "OAUTH003", "새로운 애플 공개키 생성에 실패하였습니다."), // feign client 에러 FEIGN_BAD_REQUEST(BAD_REQUEST, "FEIGN_400_1", "Feign server bad request"), @@ -44,8 +44,7 @@ public enum ErrorCode { FEIGN_NOT_FOUND(BAD_REQUEST, "FEIGN_400_5", "Feign server not found error"), FEIGN_INTERNAL_SERVER_ERROR(BAD_REQUEST, "FEIGN_400_6", "Feign server internal server error"), FEIGN_METHOD_NOT_ALLOWED(BAD_REQUEST,"FEIGN_400_7" , "Feign server method not allowed"), - FEIGN_SERVER_ERROR(BAD_REQUEST,"FEIGN_500" , "Feign server error"),; - FAIL_TO_MAKE_APPLE_PUBLIC_KEY(BAD_REQUEST, "OAUTH003", "새로운 애플 공개키 생성에 실패하였습니다."); + FEIGN_SERVER_ERROR(BAD_REQUEST,"FEIGN_500" , "Feign server error"); private final HttpStatus httpStatus; private final String code;