* Issue #5996 - Removing logback-access.mod Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
This commit is contained in:
parent
0d91f33b79
commit
cba4864fef
|
@ -1,30 +0,0 @@
|
|||
# DO NOT EDIT - See: https://www.eclipse.org/jetty/documentation/current/startup-modules.html
|
||||
|
||||
[description]
|
||||
Enables logback request log.
|
||||
|
||||
[tags]
|
||||
requestlog
|
||||
logging
|
||||
logback
|
||||
|
||||
[depend]
|
||||
server
|
||||
logback-impl
|
||||
resources
|
||||
|
||||
[provide]
|
||||
requestlog-impl
|
||||
|
||||
[xml]
|
||||
etc/jetty-logback-access.xml
|
||||
|
||||
[files]
|
||||
logs/
|
||||
basehome:modules/logback-access/jetty-logback-access.xml|etc/jetty-logback-access.xml
|
||||
basehome:modules/logback-access/logback-access.xml|resources/logback-access.xml
|
||||
maven://ch.qos.logback/logback-access/${logback.version}|lib/logback/logback-access-${logback.version}.jar
|
||||
|
||||
[lib]
|
||||
lib/logback/logback-access-${logback.version}.jar
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "https://www.eclipse.org/jetty/configure_10_0.dtd">
|
||||
|
||||
<!-- =============================================================== -->
|
||||
<!-- Configure the Logback Request Log -->
|
||||
<!-- =============================================================== -->
|
||||
<Configure id="Server" class="org.eclipse.jetty.server.Server">
|
||||
<Set name="RequestLog">
|
||||
<New id="RequestLog" class="ch.qos.logback.access.jetty.RequestLogImpl">
|
||||
<Set name="name">logback-access</Set>
|
||||
<Set name="resource">/logback-access.xml</Set>
|
||||
<Call name="start"/>
|
||||
</New>
|
||||
</Set>
|
||||
</Configure>
|
|
@ -1,17 +0,0 @@
|
|||
<configuration>
|
||||
<!-- always a good activate OnConsoleStatusListener -->
|
||||
<statusListener class="ch.qos.logback.core.status.OnConsoleStatusListener" />
|
||||
|
||||
<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<file>logs/access.log</file>
|
||||
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
||||
<fileNamePattern>logs/access.%d{yyyy-MM-dd}.log.zip</fileNamePattern>
|
||||
</rollingPolicy>
|
||||
<encoder>
|
||||
<pattern>combined</pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
|
||||
<appender-ref ref="FILE" />
|
||||
</configuration>
|
||||
|
Loading…
Reference in New Issue