본문 바로가기
프로그램/JPA

logback.xml

by cbwstar 2021. 7. 2.
728x90
반응형

로그 설정 파일입니다.

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <appender name="console" class="ch.qos.logback.core.ConsoleAppender">
    <!-- encoders are assigned the type
         ch.qos.logback.classic.encoder.PatternLayoutEncoder by default -->
        <encoder>
            <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level [%logger] - %msg%n</pattern>
        </encoder>
    </appender>
  
    <!-- log SQL with timing information, post execution -->
    <Logger name="jdbc.sqltiming" level="ERROR" additivity="false">
        <appender-ref ref="console" />
    </Logger>
    
    <Logger name="resultsettable" level="INFO" additivity="false">
        <appender-ref ref="console" />
    </Logger>
    
    <Logger name="java.sql" level="ERROR" additivity="false">
        <appender-ref ref="console" />
    </Logger>
    
    <Logger name="jdbc.resultset" level="ERROR" additivity="false">
        <appender-ref ref="console" />
    </Logger>
    
    <Logger name="jdbc.audit" level="ERROR" additivity="false">
        <appender-ref ref="console" />
    </Logger>
    
    <Logger name="jdbc.sqlonly" level="DEBUG" additivity="false">
        <appender-ref ref="console" />
    </Logger>
    
    <Logger name="org.springframework" level="INFO" additivity="false">
        <appender-ref ref="console" />
    </Logger>
    
    <Logger name="egovframework.example" level="INFO" additivity="false">
        <appender-ref ref="console" />
    </Logger>
    
    <Logger name="egovframework" level="DEBUG" additivity="false">
        <appender-ref ref="console" />
    </Logger>

    <Logger name="com.nexacro.xapi" level="ERROR" additivity="false">
        <appender-ref ref="console" />
    </Logger>

    <Logger name="com.nexacro.uiadapter17" level="ERROR" additivity="false">
        <appender-ref ref="console" />
    </Logger>
    <Logger name="com.nexacro17.xeni.extend" level="ERROR" additivity="false">
        <appender-ref ref="console" />
    </Logger>  
       
    <Logger name="nexacro.sample" level="INFO" additivity="false">
        <appender-ref ref="console" />
    </Logger>
    
    <root level="INFO">         
        <appender-ref ref="console" />
    </root> 
<typeAliases></typeAliases>
</configuration>
728x90
반응형

'프로그램 > JPA' 카테고리의 다른 글

jboss-web.xml  (0) 2021.07.02
web.xml  (0) 2021.07.02
pom.xml  (0) 2021.07.02
postgre ddl  (0) 2021.07.02
마이바티스 쿼리 샘플  (0) 2021.07.02

댓글



"이 포스팅은 쿠팡 파트너스 활동의 일환으로, 이에 따른 일정액의 수수료를 제공받습니다."

loading