diff options
Diffstat (limited to 'integration/src/main/resources/logback.xml')
-rw-r--r-- | integration/src/main/resources/logback.xml | 102 |
1 files changed, 0 insertions, 102 deletions
diff --git a/integration/src/main/resources/logback.xml b/integration/src/main/resources/logback.xml deleted file mode 100644 index 31e6339..0000000 --- a/integration/src/main/resources/logback.xml +++ /dev/null @@ -1,102 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> -<configuration debug="false" scan="true" scanPeriod="30 seconds"> - <property name="projectName" value="onapui"/> - <property name="logDir" value="../webapps/onapui/onapui_log"/> - <property name="maxHistory" value="30"/> - <timestamp key="bySecond" datePattern="yyyyMMdd'T'HHmmss"/> - - <appender name="consoleAppender" class="ch.qos.logback.core.ConsoleAppender"> - <encoder> - <pattern> - %d{yyyy-MM-dd HH:mm:ss.SSS} %-5level %logger - %msg%n - </pattern> - </encoder> - </appender> - - <appender name="errorAppender" class="ch.qos.logback.core.rolling.RollingFileAppender"> - <filter class="ch.qos.logback.classic.filter.LevelFilter"> - <level>ERROR</level> - <onMatch>ACCEPT</onMatch> - <onMismatch>DENY</onMismatch> - </filter> - <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> - <fileNamePattern>${logDir}/error/error.%d{yyyy-MM}.log</fileNamePattern> - <maxHistory>${maxHistory}</maxHistory> - </rollingPolicy> - <encoder> - <pattern> - %d{yyyy-MM-dd HH:mm:ss.SSS} %-5level %logger - %msg%n - </pattern> - </encoder> - </appender> - - <appender name="warnAppender" class="ch.qos.logback.core.rolling.RollingFileAppender"> - <filter class="ch.qos.logback.classic.filter.LevelFilter"> - <level>WARN</level> - <onMatch>ACCEPT</onMatch> - <onMismatch>DENY</onMismatch> - </filter> - <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> - <fileNamePattern>${logDir}/warn/warn.%d{yyyy-MM}.log</fileNamePattern> - <maxHistory>${maxHistory}</maxHistory> - </rollingPolicy> - <encoder> - <pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} %-5level %logger - %msg%n</pattern> - </encoder> - </appender> - - <appender name="infoAppender" class="ch.qos.logback.core.rolling.RollingFileAppender"> - <filter class="ch.qos.logback.classic.filter.LevelFilter"> - <level>INFO</level> - <onMatch>ACCEPT</onMatch> - <onMismatch>DENY</onMismatch> - </filter> - <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> - <fileNamePattern>${logDir}/info/info.%d{yyyy-MM}.log</fileNamePattern> - <maxHistory>${maxHistory}</maxHistory> - </rollingPolicy> - <encoder> - <pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} %-5level %logger - %msg%n</pattern> - </encoder> - </appender> - - <appender name="debugAppender" class="ch.qos.logback.core.rolling.RollingFileAppender"> - <filter class="ch.qos.logback.classic.filter.LevelFilter"> - <level>DEBUG</level> - <onMatch>ACCEPT</onMatch> - <onMismatch>DENY</onMismatch> - </filter> - <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> - <fileNamePattern>${logDir}/debug/debug.%d{yyyy-MM}.log</fileNamePattern> - <maxHistory>${maxHistory}</maxHistory> - </rollingPolicy> - <encoder> - <pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} %-5level %logger - %msg%n</pattern> - </encoder> - </appender> - - <appender name="traceAppender" class="ch.qos.logback.core.rolling.RollingFileAppender"> - <filter class="ch.qos.logback.classic.filter.LevelFilter"> - <level>TRACE</level> - <onMatch>ACCEPT</onMatch> - <onMismatch>DENY</onMismatch> - </filter> - <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> - <fileNamePattern>${logDir}/trace/trace.%d{yyyy-MM}.log</fileNamePattern> - <maxHistory>${maxHistory}</maxHistory> - </rollingPolicy> - <encoder> - <pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} %-5level %logger - %msg%n</pattern> - </encoder> - </appender> - - <root> - <level value="info"/> - <appender-ref ref="consoleAppender"/> - <appender-ref ref="errorAppender"/> - <appender-ref ref="warnAppender"/> - <appender-ref ref="infoAppender"/> - <appender-ref ref="debugAppender"/> - <appender-ref ref="traceAppender"/> - </root> -</configuration> |