반응형
🌱 스프링 부트 배너란?
스프링부트를 실행하면 흔히 아래와 같은 콘솔 로그를 볼 수 있을 것이다.
뭔가 밋밋하기도 하고 계속 보면 질리는 것 같기도 하다.
우연히 배너를 바꿀 수 있다는 것을 알게되었고, 단계별로 변경 방법을 소개하도록 하겠다.
🌱 스프링 부트 배너 변경하기
1. 배너 파일 만들기
- src/main/resources 하위에 banner.txt 파일을 생성한다.
2. 배너 작성하기
- 콘솔에 출력하고 싶은 내용을 작성한다.
3. 프로젝트 실행
- 프로젝트를 실행시키고 콘솔을 확인한다.
🤯 배너 만들기
- 배너를 직접 만들 수 있으면 좋겠지만, 생각만해도 너무 머리가 아픈 일이다.
다행히(?) 배너를 제공해주는 고마운 사이트들이 있어서,
우리가 잘하는 'Ctrl + C / Ctrl + V'만 사용한다면 쉽게 가져다 쓸 수 있다.
아래는 배너 생성을 도와주는 사이트 목록이다.
- http://patorjk.com/software/taag
- https://devops.datenkollektiv.de/banner.txt/index.html
- https://www.asciiart.eu/
* 단순 텍스트가 아닌 그림으로 표한하고 싶다면, '아스키 아트'로 검색하면 많은 자료를 찾을 수 있을 것이다.
반응형
'Spring' 카테고리의 다른 글
[Spring] ORM, JPA, Hibernate, Spring Data JPA 개념 (0) | 2023.09.27 |
---|---|
[Spring] @Transactional (0) | 2023.09.19 |
[Mybatis] 조회쿼리 성능 향상 (0) | 2023.03.21 |
[Security] Keycloak 설치 및 설정 (0) | 2023.03.20 |
[Security] Keycloak 소개 (0) | 2023.03.20 |