로컬 프로필 파일 로깅 활성화 + 로그 경로 프로젝트 내부로 이동
This commit is contained in:
parent
0c979df6a4
commit
622919c992
1
.gitignore
vendored
1
.gitignore
vendored
@ -37,3 +37,4 @@ build/
|
|||||||
### logs ###
|
### logs ###
|
||||||
qcast3/
|
qcast3/
|
||||||
src/test
|
src/test
|
||||||
|
logs/
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
xsi:noNamespaceSchemaLocation="http://www.padual.com/java/logback.xsd">
|
xsi:noNamespaceSchemaLocation="http://www.padual.com/java/logback.xsd">
|
||||||
<include resource="org/springframework/boot/logging/logback/defaults.xml"/>
|
<include resource="org/springframework/boot/logging/logback/defaults.xml"/>
|
||||||
<springProperty scope="context" name="ACTIVE_PROFILE" source="spring.profiles.active"/>
|
<springProperty scope="context" name="ACTIVE_PROFILE" source="spring.profiles.active"/>
|
||||||
<property name="LOG_HOME" value="/logs/api/"/>
|
<property name="LOG_HOME" value="./logs/api/"/>
|
||||||
<property name="LOG_FILE" value="${LOG_HOME}${ACTIVE_PROFILE}.qcast.api"/>
|
<property name="LOG_FILE" value="${LOG_HOME}${ACTIVE_PROFILE}.qcast.api"/>
|
||||||
<property name="LOG_FILE_EXT" value=".log"/>
|
<property name="LOG_FILE_EXT" value=".log"/>
|
||||||
|
|
||||||
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
<root level="warn">
|
<root level="warn">
|
||||||
<appender-ref ref="CONSOLE"/>
|
<appender-ref ref="CONSOLE"/>
|
||||||
<!-- <appender-ref ref="FILE" />-->
|
<appender-ref ref="FILE" />
|
||||||
</root>
|
</root>
|
||||||
|
|
||||||
<!-- Spring Batch 로깅 레벨 설정 -->
|
<!-- Spring Batch 로깅 레벨 설정 -->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user