|
|
0bf252 |
From 1d2f89cb3e954b943751fa8dd587fdb404eb9338 Mon Sep 17 00:00:00 2001
|
|
|
0bf252 |
From: Stanislav Ochotnicky <sochotnicky@redhat.com>
|
|
|
0bf252 |
Date: Mon, 21 Feb 2011 15:53:34 +0100
|
|
|
0bf252 |
Subject: [PATCH 1/3] Remove avalon-logkit
|
|
|
0bf252 |
|
|
|
0bf252 |
we don't have it packaged so change defaults and remove it from pom.xml
|
|
|
0bf252 |
---
|
|
|
0bf252 |
pom.xml | 6 ------
|
|
|
0bf252 |
.../velocity/runtime/defaults/velocity.properties | 4 ++--
|
|
|
0bf252 |
.../apache/velocity/runtime/log/LogManager.java | 2 +-
|
|
|
0bf252 |
3 files changed, 3 insertions(+), 9 deletions(-)
|
|
|
0bf252 |
|
|
|
0bf252 |
diff --git a/pom.xml b/pom.xml
|
|
|
0bf252 |
index 77a8e38..f453208 100644
|
|
|
0bf252 |
--- a/pom.xml
|
|
|
0bf252 |
+++ b/pom.xml
|
|
|
0bf252 |
@@ -197,12 +197,6 @@
|
|
|
0bf252 |
<scope>provided</scope>
|
|
|
0bf252 |
</dependency>
|
|
|
0bf252 |
<dependency>
|
|
|
0bf252 |
- <groupId>logkit</groupId>
|
|
|
0bf252 |
- <artifactId>logkit</artifactId>
|
|
|
0bf252 |
- <version>2.0</version>
|
|
|
0bf252 |
- <scope>provided</scope>
|
|
|
0bf252 |
- </dependency>
|
|
|
0bf252 |
- <dependency>
|
|
|
0bf252 |
<groupId>ant</groupId>
|
|
|
0bf252 |
<artifactId>ant</artifactId>
|
|
|
0bf252 |
<version>1.6</version>
|
|
|
0bf252 |
diff --git a/src/java/org/apache/velocity/runtime/defaults/velocity.properties b/src/java/org/apache/velocity/runtime/defaults/velocity.properties
|
|
|
0bf252 |
index 750a59a..7fac119 100644
|
|
|
0bf252 |
--- a/src/java/org/apache/velocity/runtime/defaults/velocity.properties
|
|
|
0bf252 |
+++ b/src/java/org/apache/velocity/runtime/defaults/velocity.properties
|
|
|
0bf252 |
@@ -20,10 +20,10 @@
|
|
|
0bf252 |
# ----------------------------------------------------------------------------
|
|
|
0bf252 |
|
|
|
0bf252 |
# ----------------------------------------------------------------------------
|
|
|
0bf252 |
-# default LogChute to use: default: AvalonLogChute, Log4JLogChute, CommonsLogLogChute, ServletLogChute, JdkLogChute
|
|
|
0bf252 |
+# default LogChute to use: default: Log4JLogChute, CommonsLogLogChute, ServletLogChute, JdkLogChute
|
|
|
0bf252 |
# ----------------------------------------------------------------------------
|
|
|
0bf252 |
|
|
|
0bf252 |
-runtime.log.logsystem.class = org.apache.velocity.runtime.log.AvalonLogChute,org.apache.velocity.runtime.log.Log4JLogChute,org.apache.velocity.runtime.log.CommonsLogLogChute,org.apache.velocity.runtime.log.ServletLogChute,org.apache.velocity.runtime.log.JdkLogChute
|
|
|
0bf252 |
+runtime.log.logsystem.class = org.apache.velocity.runtime.log.Log4JLogChute,org.apache.velocity.runtime.log.CommonsLogLogChute,org.apache.velocity.runtime.log.ServletLogChute,org.apache.velocity.runtime.log.JdkLogChute
|
|
|
0bf252 |
|
|
|
0bf252 |
# ---------------------------------------------------------------------------
|
|
|
0bf252 |
# This is the location of the Velocity Runtime log.
|
|
|
0bf252 |
diff --git a/src/java/org/apache/velocity/runtime/log/LogManager.java b/src/java/org/apache/velocity/runtime/log/LogManager.java
|
|
|
0bf252 |
index 19d1016..97dceef 100644
|
|
|
0bf252 |
--- a/src/java/org/apache/velocity/runtime/log/LogManager.java
|
|
|
0bf252 |
+++ b/src/java/org/apache/velocity/runtime/log/LogManager.java
|
|
|
0bf252 |
@@ -119,7 +119,7 @@ public class LogManager
|
|
|
0bf252 |
* classes, and we use the first one we find.
|
|
|
0bf252 |
*
|
|
|
0bf252 |
* Note that the default value of this property contains the
|
|
|
0bf252 |
- * AvalonLogChute, the Log4JLogChute, CommonsLogLogChute,
|
|
|
0bf252 |
+ * Log4JLogChute, CommonsLogLogChute,
|
|
|
0bf252 |
* ServletLogChute, and the JdkLogChute for
|
|
|
0bf252 |
* convenience - so we use whichever we works first.
|
|
|
0bf252 |
*/
|
|
|
0bf252 |
--
|
|
|
0bf252 |
1.7.4
|
|
|
0bf252 |
|