parent
ab45979a13
commit
7df3b83a8e
|
@ -0,0 +1,7 @@
|
||||||
|
[description]
|
||||||
|
Provides a Jetty Logging implementation that logs to logback.
|
||||||
|
Uses the slf4j API as an intermediary
|
||||||
|
|
||||||
|
[depend]
|
||||||
|
jetty-slf4j
|
||||||
|
slf4j-logback
|
|
@ -0,0 +1,33 @@
|
||||||
|
[description]
|
||||||
|
Provides the logback core implementation, used by slf4j-logback
|
||||||
|
and logback-access
|
||||||
|
|
||||||
|
[files]
|
||||||
|
maven://ch.qos.logback/logback-core/${logback.version}|lib/logback/logback-core-${logback.version}.jar
|
||||||
|
|
||||||
|
[lib]
|
||||||
|
lib/logback/logback-core-${logback.version}.jar
|
||||||
|
|
||||||
|
[license]
|
||||||
|
Logback: the reliable, generic, fast and flexible logging framework.
|
||||||
|
Copyright (C) 1999-2012, QOS.ch. All rights reserved.
|
||||||
|
|
||||||
|
This program and the accompanying materials are dual-licensed under
|
||||||
|
either:
|
||||||
|
|
||||||
|
the terms of the Eclipse Public License v1.0
|
||||||
|
as published by the Eclipse Foundation:
|
||||||
|
http://www.eclipse.org/legal/epl-v10.html
|
||||||
|
|
||||||
|
or (per the licensee's choosing) under
|
||||||
|
|
||||||
|
the terms of the GNU Lesser General Public License version 2.1
|
||||||
|
as published by the Free Software Foundation:
|
||||||
|
http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html
|
||||||
|
|
||||||
|
[ini]
|
||||||
|
logback.version=1.1.7
|
||||||
|
|
||||||
|
[ini-template]
|
||||||
|
## After changing versions, run 'java -jar $JETTY_HOME/start.jar --create-files'
|
||||||
|
#logback.version=1.1.7
|
|
@ -0,0 +1,11 @@
|
||||||
|
<configuration>
|
||||||
|
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
|
||||||
|
<encoder>
|
||||||
|
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
|
||||||
|
</encoder>
|
||||||
|
</appender>
|
||||||
|
|
||||||
|
<root level="info">
|
||||||
|
<appender-ref ref="STDOUT" />
|
||||||
|
</root>
|
||||||
|
</configuration>
|
|
@ -0,0 +1,18 @@
|
||||||
|
[description]
|
||||||
|
Provides a SLF4J implementation that logs to Logback classic
|
||||||
|
To receive jetty logs enable the jetty-slf4j module.
|
||||||
|
|
||||||
|
[depend]
|
||||||
|
slf4j-api
|
||||||
|
logback-core
|
||||||
|
resources
|
||||||
|
|
||||||
|
[provide]
|
||||||
|
slf4j-impl
|
||||||
|
|
||||||
|
[files]
|
||||||
|
basehome:modules/logback/logback.xml|resources/logback.xml
|
||||||
|
maven://ch.qos.logback/logback-classic/${logback.version}|lib/logback/logback-classic-${logback.version}.jar
|
||||||
|
|
||||||
|
[lib]
|
||||||
|
lib/logback/logback-classic-${logback.version}.jar
|
Loading…
Reference in New Issue