summaryrefslogtreecommitdiffstats
path: root/portal-package/src/main/resources/logback.xml
diff options
context:
space:
mode:
Diffstat (limited to 'portal-package/src/main/resources/logback.xml')
-rw-r--r--portal-package/src/main/resources/logback.xml102
1 files changed, 0 insertions, 102 deletions
diff --git a/portal-package/src/main/resources/logback.xml b/portal-package/src/main/resources/logback.xml
deleted file mode 100644
index bf07d3b2..00000000
--- a/portal-package/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="openoui"/>
- <property name="logDir" value="../webapps/openoui/openoui_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>