You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by ce...@apache.org on 2004/10/28 15:11:53 UTC
cvs commit: logging-log4j/src/java/org/apache/log4j/xml/test DOMTest.java
ceki 2004/10/28 06:11:53
Modified: src/java/org/apache/log4j/xml/test DOMTest.java
Log:
Changing references from Category to Logger
Revision Changes Path
1.11 +1 -2 logging-log4j/src/java/org/apache/log4j/xml/test/DOMTest.java
Index: DOMTest.java
===================================================================
RCS file: /home/cvs/logging-log4j/src/java/org/apache/log4j/xml/test/DOMTest.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- DOMTest.java 26 May 2004 17:19:38 -0000 1.10
+++ DOMTest.java 28 Oct 2004 13:11:53 -0000 1.11
@@ -16,7 +16,6 @@
package org.apache.log4j.xml.test;
-import org.apache.log4j.Category;
import org.apache.log4j.Level;
import org.apache.log4j.LogManager;
import org.apache.log4j.Logger;
@@ -32,7 +31,7 @@
* @author Ceki Gülcü
*/
public class DOMTest {
- static Category cat = Category.getInstance(DOMTest.class.getName());
+ static Logger cat = Logger.getLogger(DOMTest.class);
public static void main(String[] argv) {
if (argv.length == 1) {
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org