com.sun.sgs.impl.kernel
Class LoggerPropertiesInit

java.lang.Object
  extended by com.sun.sgs.impl.kernel.LoggerPropertiesInit

public class LoggerPropertiesInit
extends Object

This class is used to initialize logging levels at system startup. If the system property java.util.logging.config.class is set to this class's name, the constructor for this class will be used to initialize logging levels from several sources.


Constructor Summary
LoggerPropertiesInit()
          This class is instantiated if the system property java.util.logging.config.class is set to this class's name.
 
Method Summary
(package private)  void noop()
          This method exists to appease Checkstyle.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggerPropertiesInit

public LoggerPropertiesInit()
                     throws IOException
This class is instantiated if the system property java.util.logging.config.class is set to this class's name. Initialize logging levels according to the following rules. In each of the rules below, the input stream from the file "lib/logging.properties" from the JRE is concatenated with the "source InputStream" and used to set the logging levels with the LogManager.readConfiguration(java.io.InputStream) method: Note that if both resources exist as in the first scenario above, any property that is specified in both resources will retain the value of the property from the java.util.logging.config.file.

Throws:
IOException - if an error occurs reading the configuration from the source InputStream
Method Detail

noop

void noop()
This method exists to appease Checkstyle.


RedDwarf, Version 0.10.1
2010-03-14 10:56:12

Copyright © 2010 The RedDwarf Authors. All rights reserved
Copyright © 2007-2010 Sun Microsystems, Inc. All rights reserved