[prev in list] [next in list] [prev in thread] [next in thread]
List: log4j-dev
Subject: svn commit: r533455 - in /logging/sandbox/log4j/component: ./ pom.xml
From: carnold () apache ! org
Date: 2007-04-29 2:38:37
Message-ID: 20070429023837.ECB8C1A9838 () eris ! apache ! org
[Download RAW message or body]
Author: carnold
Date: Sat Apr 28 19:38:37 2007
New Revision: 533455
URL: http://svn.apache.org/viewvc?view=rev&rev=533455
Log:
Bug 42094: Broken refs to DOMConfig in PluginConfigurator
Modified:
logging/sandbox/log4j/component/ (props changed)
logging/sandbox/log4j/component/pom.xml
logging/sandbox/log4j/component/src/main/java/org/apache/log4j/plugins/PluginConfigurator.java
Propchange: logging/sandbox/log4j/component/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Sat Apr 28 19:38:37 2007
@@ -1,3 +1,8 @@
target
cobertura.ser
surefire*
+.classpath
+.project
+.settings
+apache-log4j-component*
+
Modified: logging/sandbox/log4j/component/pom.xml
URL: http://svn.apache.org/viewvc/logging/sandbox/log4j/component/pom.xml?view=diff&rev=533455&r1=533454&r2=533455
==============================================================================
--- logging/sandbox/log4j/component/pom.xml (original)
+++ logging/sandbox/log4j/component/pom.xml Sat Apr 28 19:38:37 2007
@@ -97,6 +97,13 @@
</dependencies>
</plugin>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <workingDirectory>target</workingDirectory>
+ </configuration>
+ </plugin>
+ <plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.3</source>
Modified: logging/sandbox/log4j/component/src/main/java/org/apache/log4j/plugins/PluginConfigurator.java
URL: http://svn.apache.org/viewvc/logging/sandbox/log4j/component/src/main/java/org/ap \
ache/log4j/plugins/PluginConfigurator.java?view=diff&rev=533455&r1=533454&r2=533455 \
==============================================================================
--- logging/sandbox/log4j/component/src/main/java/org/apache/log4j/plugins/PluginConfigurator.java \
(original)
+++ logging/sandbox/log4j/component/src/main/java/org/apache/log4j/plugins/PluginConfigurator.java \
Sat Apr 28 19:38:37 2007 @@ -37,7 +37,6 @@
import org.apache.log4j.spi.LoggerRepository;
import org.apache.log4j.spi.OptionHandler;
import org.apache.log4j.spi.RendererSupport;
-import org.apache.log4j.xml.DOMConfigurator;
import org.apache.log4j.xml.SAXErrorHandler;
import org.apache.log4j.xml.UnrecognizedElementHandler;
import org.w3c.dom.Document;
@@ -610,7 +609,7 @@
static
public
void configure (Element element) {
- DOMConfigurator configurator = new DOMConfigurator();
+ PluginConfigurator configurator = new PluginConfigurator();
configurator.doConfigure(element, LogManager.getLoggerRepository());
}
@@ -791,7 +790,7 @@
static
public
void configure(String filename) throws FactoryConfigurationError {
- new DOMConfigurator().doConfigure(filename,
+ new PluginConfigurator().doConfigure(filename,
LogManager.getLoggerRepository());
}
@@ -801,7 +800,7 @@
static
public
void configure(URL url) throws FactoryConfigurationError {
- new DOMConfigurator().doConfigure(url, LogManager.getLoggerRepository());
+ new PluginConfigurator().doConfigure(url, LogManager.getLoggerRepository());
}
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic