일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
- IntelliJ
- tibero
- maven
- log4j2
- Java
- Linux
- Git
- springboot
- nodejs
- BPMN
- LOG4J
- intellijIDEA
- react
- JavaScript
- Spring
- database
- docker
- sapfiorielements
- NCP
- mybatis
- gson
- gradle
- useEffect
- dbeaver
- MySQL
- VSCode
- Kubernetes
- Windows
- JPA
- nginx
- Today
- Total
목록LOG4J (3)
두 손끝의 창조자
SpringBoot 가장 간단하게 해결된다. resources의 application-{Profile}.properties 파일을 추가하면 프로파일에 해당하는 설정정보를 가져온다. 가령, application-dev.properties 라는 파일이 있다면 현재 프로파일이 dev 인 경우 해당 파일을 읽는다. application-prd.properties 가 있다면 프로파일이 prd 인 경우 해당 파일을 읽는다. 그러면 프로파일에 맞는 속성파일에 log4j 설정파일 경로를 설정한다. logging.config=classpath:log4j2-dev.xml ServletContainerInitializer 서블릿 기반 웹이면 ServletContainerInitializer 인터페이스를 이용해서 web.xm..
PrefixContext base64 Base64 encoded data. The format is ${base64:Base64_encoded_data}. For example: ${base64:SGVsbG8gV29ybGQhCg==} yields Hello World!. bundle Resource bundle. The format is ${bundle:BundleName:BundleKey}. The bundle name follows package naming conventions, for example: ${bundle:com.domain.Messages:MyKey}. ctx Thread Context Map (MDC) date Inserts the current date and/or time usi..