directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r290074 - /directory/sandbox/trunk/proxy/src/java/main/org/apache/ldap/proxy/impl/LdapProxy.java
Date Mon, 19 Sep 2005 07:02:39 GMT
Author: elecharny
Date: Mon Sep 19 00:02:34 2005
New Revision: 290074

URL: http://svn.apache.org/viewcvs?rev=290074&view=rev
Log:
Added PropertyConfigurator initialization

Modified:
    directory/sandbox/trunk/proxy/src/java/main/org/apache/ldap/proxy/impl/LdapProxy.java

Modified: directory/sandbox/trunk/proxy/src/java/main/org/apache/ldap/proxy/impl/LdapProxy.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/proxy/src/java/main/org/apache/ldap/proxy/impl/LdapProxy.java?rev=290074&r1=290073&r2=290074&view=diff
==============================================================================
--- directory/sandbox/trunk/proxy/src/java/main/org/apache/ldap/proxy/impl/LdapProxy.java
(original)
+++ directory/sandbox/trunk/proxy/src/java/main/org/apache/ldap/proxy/impl/LdapProxy.java
Mon Sep 19 00:02:34 2005
@@ -21,6 +21,7 @@
 import java.net.Socket;
 
 import org.apache.ldap.proxy.gui.MainFrame;
+import org.apache.log4j.PropertyConfigurator;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -163,6 +164,8 @@
      */
     public static void main( String[] argv )
     {
+        PropertyConfigurator.configure( System.getProperty( "log4j.configuration" ) );
+
         LdapProxy self = new LdapProxy();
 
         if ( argv.length >= 3 )



Mime
View raw message