/[classpath]/classpath/java/util/logging/LogManager.java
ViewVC logotype

Diff of /classpath/java/util/logging/LogManager.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.12 by smarothy, Wed Feb 16 18:54:06 2005 UTC revision 1.13 by dog, Tue Jun 21 06:44:49 2005 UTC
# Line 1  Line 1 
1  /* LogManager.java -- a class for maintaining Loggers and managing  /* LogManager.java -- a class for maintaining Loggers and managing
2     configuration properties     configuration properties
3     Copyright (C) 2002 Free Software Foundation, Inc.     Copyright (C) 2002,2005 Free Software Foundation, Inc.
4    
5  This file is part of GNU Classpath.  This file is part of GNU Classpath.
6    
# Line 95  import java.util.StringTokenizer; Line 95  import java.util.StringTokenizer;
95   *     the system property <code>gnu.classpath.home.url</code>.</li>   *     the system property <code>gnu.classpath.home.url</code>.</li>
96   * </ul>   * </ul>
97   *   *
98     * <p>The <code>LogManager</code> has a level of <code>INFO</code> by
99     * default, and this will be inherited by <code>Logger</code>s unless they
100     * override it either by properties or programmatically.
101     *
102   * @author Sascha Brawer (brawer@acm.org)   * @author Sascha Brawer (brawer@acm.org)
103   */   */
104  public class LogManager  public class LogManager
# Line 140  public class LogManager Line 144  public class LogManager
144      logManager = this;      logManager = this;
145      loggers = new java.util.HashMap();      loggers = new java.util.HashMap();
146      rootLogger = new Logger("", null);      rootLogger = new Logger("", null);
147        rootLogger.setLevel(Level.INFO);
148      addLogger(rootLogger);      addLogger(rootLogger);
149    
150      /* Make sure that Logger.global has the rootLogger as its parent.      /* Make sure that Logger.global has the rootLogger as its parent.

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26