org.apache.karaf.main
Class BootstrapLogManager.SimpleFileHandler

java.lang.Object
  extended by java.util.logging.Handler
      extended by java.util.logging.StreamHandler
          extended by org.apache.karaf.main.BootstrapLogManager.SimpleFileHandler
Enclosing class:
BootstrapLogManager

public static class BootstrapLogManager.SimpleFileHandler
extends java.util.logging.StreamHandler

Implementation of java.util.logging.Handler that does simple appending to a named file. Should be able to use this for bootstrap logging via java.util.logging prior to startup of pax logging.


Constructor Summary
BootstrapLogManager.SimpleFileHandler(java.io.File file)
           
 
Method Summary
 void publish(java.util.logging.LogRecord record)
           
 
Methods inherited from class java.util.logging.StreamHandler
close, flush, isLoggable, setEncoding, setOutputStream
 
Methods inherited from class java.util.logging.Handler
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, reportError, setErrorManager, setFilter, setFormatter, setLevel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BootstrapLogManager.SimpleFileHandler

public BootstrapLogManager.SimpleFileHandler(java.io.File file)
                                      throws java.io.IOException
Throws:
java.io.IOException
Method Detail

publish

public void publish(java.util.logging.LogRecord record)
Overrides:
publish in class java.util.logging.StreamHandler


Copyright © 2007-2011 Apache Software Foundation. All Rights Reserved.