ceki        2004/12/20 03:10:16

  Modified:    src/java/org/apache/log4j LogManager.java
  Log:
  Unsafe feature.
  
  Revision  Changes    Path
  1.29      +0 -10     logging-log4j/src/java/org/apache/log4j/LogManager.java
  
  Index: LogManager.java
  ===================================================================
  RCS file: /home/cvs/logging-log4j/src/java/org/apache/log4j/LogManager.java,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- LogManager.java   20 Dec 2004 07:28:07 -0000      1.28
  +++ LogManager.java   20 Dec 2004 11:10:16 -0000      1.29
  @@ -27,7 +27,6 @@
   import org.apache.log4j.spi.LoggerRepository;
   import org.apache.log4j.spi.RepositorySelector;
   import org.apache.log4j.spi.RootLogger;
  -import org.apache.log4j.spi.location.LocationInfo;
   
   import java.util.Enumeration;
   
  @@ -178,15 +177,6 @@
       return repositorySelector.getLoggerRepository().getRootLogger();
     }
   
  -  /**
  -   * Retrieve a [EMAIL PROTECTED] Logger} instance based on the calling 
class name.
  -   * 
  -   */
  -  public static Logger getLogger() {
  -    LocationInfo info = new LocationInfo(new Exception(), 
LogManager.class.getName());
  -    return getLogger(info.getClassName());
  -  }
  -  
     /**
        Retrieve the appropriate [EMAIL PROTECTED] Logger} instance.
     */
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to