728x90
반응형
개발단계 로그 출력 레벨 변경
application.properties 파일 내의
logging.level.org.springframework = debug
값으로 설정 변경한다.
변경전 기본 : INFO 레벨
2024-02-14T09:50:19.423+09:00 INFO 23884 --- [ main] k.p.s.thymeleaf.ThymeleafApplication : Starting ThymeleafApplication using Java 17.0.9 with PID 23884 (D:\ProgramLang\thymeleaf\target\classes started by User in D:\ProgramLang\thymeleaf)
2024-02-14T09:50:19.426+09:00 INFO 23884 --- [ main] k.p.s.thymeleaf.ThymeleafApplication : No active profile set, falling back to 1 default profile: "default"
2024-02-14T09:50:20.242+09:00 INFO 23884 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8080 (http)
2024-02-14T09:50:20.252+09:00 INFO 23884 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2024-02-14T09:50:20.252+09:00 INFO 23884 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.18]
2024-02-14T09:50:20.314+09:00 INFO 23884 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2024-02-14T09:50:20.315+09:00 INFO 23884 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 843 ms
2024-02-14T09:50:20.415+09:00 INFO 23884 --- [ main] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html]
2024-02-14T09:50:20.641+09:00 INFO 23884 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8080 (http) with context path ''
2024-02-14T09:50:20.649+09:00 INFO 23884 --- [ main] k.p.s.thymeleaf.ThymeleafApplication : Started ThymeleafApplication in 1.544 seconds (process running for 1.921)
변경 후 : DEBUG 레벨
2024-02-14T09:52:39.114+09:00 INFO 3328 --- [ main] k.p.s.thymeleaf.ThymeleafApplication : Starting ThymeleafApplication using Java 17.0.9 with PID 3328 (D:\ProgramLang\thymeleaf\target\classes started by User in D:\ProgramLang\thymeleaf)
2024-02-14T09:52:39.117+09:00 INFO 3328 --- [ main] k.p.s.thymeleaf.ThymeleafApplication : No active profile set, falling back to 1 default profile: "default"
2024-02-14T09:52:39.118+09:00 DEBUG 3328 --- [ main] o.s.boot.SpringApplication : Loading source class kr.pe.speech.thymeleaf.ThymeleafApplication
2024-02-14T09:52:39.163+09:00 DEBUG 3328 --- [ main] ConfigServletWebServerApplicationContext : Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@49c90a9c
2024-02-14T09:52:39.181+09:00 DEBUG 3328 --- [ main] o.s.b.f.s.DefaultListableBeanFactory : Creating shared instance of singleton bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor'
2024-02-14T09:52:39.193+09:00 DEBUG 3328 --- [ main] o.s.b.f.s.DefaultListableBeanFactory : Creating shared instance of singleton bean 'org.springframework.boot.autoconfigure.internalCachingMetadataReaderFactory'
2024-02-14T09:52:39.642+09:00 DEBUG 3328 --- [ main] o.s.b.f.s.DefaultListableBeanFactory : Creating shared instance of singleton bean 'propertySourcesPlaceholderConfigurer'
2024-02-14T09:52:39.647+09:00 DEBUG 3328 --- [ main] o.s.b.f.s.DefaultListableBeanFactory : Creating shared instance of singleton bean 'org.springframework.boot.sql.init.dependency.DatabaseInitializationDependencyConfigurer$DependsOnDatabaseInitializationPostProcessor'
2024-02-14T09:52:39.652+09:00 DEBUG 3328 --- [ main] o.s.b.f.s.DefaultListableBeanFactory : Creating shared instance of singleton bean 'org.springframework.context.event.internalEventListenerProcessor'
2024-02-14T09:52:39.653+09:00 DEBUG 3328 --- [ mai
파일로 로그 정보를 출력하는 것은 별개임
728x90
반응형
'프로그램언어(JAVA , Python)' 카테고리의 다른 글
SSL(HTTPS Service) Certifcation with React, SpringBoot and Nginx (1) | 2024.04.25 |
---|---|
[Python] 삽입,버블,선택 정렬- 5개 데이터 예시( 손으로 풀기) (0) | 2023.12.06 |
웹서비스 개발 및 운영환경 - 실 구현 경험을 정리. (0) | 2023.12.02 |
[PostgreSQL] 수행 시간 데이터 Insert/Select/Delete ( 90,000 entries ) (0) | 2023.11.30 |
[Python] 삽입정렬(Insertion Sorting) (0) | 2023.11.30 |