|
|
@ -14,10 +14,10 @@
|
|
|
|
-->
|
|
|
|
-->
|
|
|
|
|
|
|
|
|
|
|
|
<!-- async rolling appender 사용시 로그의 class, method, line number 출력 제어 : 성능저하 이슈 -->
|
|
|
|
<!-- async rolling appender 사용시 로그의 class, method, line number 출력 제어 : 성능저하 이슈 -->
|
|
|
|
<springProfile name="local, local-chuncheon, dev, dev-chuncheon">
|
|
|
|
<springProfile name="local, local-ccn, local-can, dev-ccn, dev-can">
|
|
|
|
<property name="isIncludeCallerData" value="true"/>
|
|
|
|
<property name="isIncludeCallerData" value="true"/>
|
|
|
|
</springProfile>
|
|
|
|
</springProfile>
|
|
|
|
<springProfile name="prod">
|
|
|
|
<springProfile name="prod-ccn, prod-can">
|
|
|
|
<property name="isIncludeCallerData" value="false"/>
|
|
|
|
<property name="isIncludeCallerData" value="false"/>
|
|
|
|
</springProfile>
|
|
|
|
</springProfile>
|
|
|
|
|
|
|
|
|
|
|
@ -89,7 +89,6 @@
|
|
|
|
<appender name="mask" class="ch.qos.logback.core.ConsoleAppender">
|
|
|
|
<appender name="mask" class="ch.qos.logback.core.ConsoleAppender">
|
|
|
|
<encoder class="ch.qos.logback.core.encoder.LayoutWrappingEncoder">
|
|
|
|
<encoder class="ch.qos.logback.core.encoder.LayoutWrappingEncoder">
|
|
|
|
<layout class="kr.xit.core.support.logback.LogbackMaskingPatternLayout">
|
|
|
|
<layout class="kr.xit.core.support.logback.LogbackMaskingPatternLayout">
|
|
|
|
<maskPattern>\"juminId\"\s*:\s*\"(.*?)\"</maskPattern> <!-- SSN JSON pattern -->
|
|
|
|
|
|
|
|
<maskPattern>\"recveJuminno\"\s*:\s*\"(.*?)\"</maskPattern> <!-- SSN JSON pattern -->
|
|
|
|
<maskPattern>\"recveJuminno\"\s*:\s*\"(.*?)\"</maskPattern> <!-- SSN JSON pattern -->
|
|
|
|
<maskPattern>\"recevAddr\"\s*:\s*\"(.*?)\"</maskPattern> <!-- Address JSON pattern -->
|
|
|
|
<maskPattern>\"recevAddr\"\s*:\s*\"(.*?)\"</maskPattern> <!-- Address JSON pattern -->
|
|
|
|
<maskPattern>\"recevDetailAddr\"\s*:\s*\"(.*?)\"</maskPattern> <!-- Address JSON pattern -->
|
|
|
|
<maskPattern>\"recevDetailAddr\"\s*:\s*\"(.*?)\"</maskPattern> <!-- Address JSON pattern -->
|
|
|
@ -107,7 +106,7 @@
|
|
|
|
<!-- log4jdbc 옵션 설정 -->
|
|
|
|
<!-- log4jdbc 옵션 설정 -->
|
|
|
|
<logger name="jdbc" level="OFF"/>
|
|
|
|
<logger name="jdbc" level="OFF"/>
|
|
|
|
|
|
|
|
|
|
|
|
<springProfile name="prod">
|
|
|
|
<springProfile name="prod-ccn, prod-can">
|
|
|
|
<!-- 운영 환경에서만 sql문 및 결과 출력하지 않음 -->
|
|
|
|
<!-- 운영 환경에서만 sql문 및 결과 출력하지 않음 -->
|
|
|
|
<!-- SQL문과 소요된 시간 -->
|
|
|
|
<!-- SQL문과 소요된 시간 -->
|
|
|
|
<logger name="jdbc.sqltiming" level="OFF"/>
|
|
|
|
<logger name="jdbc.sqltiming" level="OFF"/>
|
|
|
@ -115,7 +114,7 @@
|
|
|
|
<logger name="jdbc.resultsettable" level="OFF"/>
|
|
|
|
<logger name="jdbc.resultsettable" level="OFF"/>
|
|
|
|
</springProfile>
|
|
|
|
</springProfile>
|
|
|
|
|
|
|
|
|
|
|
|
<springProfile name="local, local-chuncheon, dev, dev-chuncheon">
|
|
|
|
<springProfile name="local, local-ccn, local-can, dev-ccn, dev-can">
|
|
|
|
<!-- 로컬, 개발 환경에서는 sql문 및 결과 출력 -->
|
|
|
|
<!-- 로컬, 개발 환경에서는 sql문 및 결과 출력 -->
|
|
|
|
<!-- SQL문과 소요된 시간 -->
|
|
|
|
<!-- SQL문과 소요된 시간 -->
|
|
|
|
<logger name="jdbc.sqltiming" level="DEBUG" />
|
|
|
|
<logger name="jdbc.sqltiming" level="DEBUG" />
|
|
|
@ -158,7 +157,7 @@
|
|
|
|
<!-- ************************************************************************* -->
|
|
|
|
<!-- ************************************************************************* -->
|
|
|
|
<!-- application log : root appender로 로그 전파 - additivity="true" -->
|
|
|
|
<!-- application log : root appender로 로그 전파 - additivity="true" -->
|
|
|
|
<!-- ************************************************************************* -->
|
|
|
|
<!-- ************************************************************************* -->
|
|
|
|
<!-- <logger name="org.springframework.web.filter.MustRequestLoggingFilter" level="DEBUG" additivity="false"/>-->
|
|
|
|
<!-- <logger name="org.springframework.web.filter.MustRequestLoggingFilter" level="DEBUG" additivity="false"/>-->
|
|
|
|
<!--logger name="kr.xit.core.filter.CustomRequestLoggingFilter" level="DEBUG"/-->
|
|
|
|
<!--logger name="kr.xit.core.filter.CustomRequestLoggingFilter" level="DEBUG"/-->
|
|
|
|
<logger name="kr.xit" level="DEBUG"/>
|
|
|
|
<logger name="kr.xit" level="DEBUG"/>
|
|
|
|
<!-- ************************************************************************* -->
|
|
|
|
<!-- ************************************************************************* -->
|
|
|
@ -170,11 +169,11 @@
|
|
|
|
<!-- root logging -->
|
|
|
|
<!-- root logging -->
|
|
|
|
<!-- ************************************************************************* -->
|
|
|
|
<!-- ************************************************************************* -->
|
|
|
|
<root level="DEBUG">
|
|
|
|
<root level="DEBUG">
|
|
|
|
<springProfile name="prod">
|
|
|
|
<springProfile name="prod-ccn, prod-can">
|
|
|
|
<appender-ref ref="ASYNC_ROLLING"/>
|
|
|
|
<appender-ref ref="ASYNC_ROLLING"/>
|
|
|
|
</springProfile>
|
|
|
|
</springProfile>
|
|
|
|
|
|
|
|
|
|
|
|
<springProfile name="local, local-chuncheon, dev, dev-chuncheon">
|
|
|
|
<springProfile name="local, local-ccn, local-can, dev-ccn, dev-can">
|
|
|
|
<appender-ref ref="CONSOLE"/>
|
|
|
|
<appender-ref ref="CONSOLE"/>
|
|
|
|
<appender-ref ref="ASYNC_ROLLING"/>
|
|
|
|
<appender-ref ref="ASYNC_ROLLING"/>
|
|
|
|
</springProfile>
|
|
|
|
</springProfile>
|
|
|
|