org.lsst.ccs.utilities.logging
Class LogManagement
java.lang.Object
org.lsst.ccs.utilities.logging.LogManagement
public class LogManagement
- extends Object
Ths static initialization of this class should be fired early in an application by doing
Class.forName("org.lsst.ccs.utilities.logging.LogManagement") ;
This code will relod the logging configuration from a logging.properties file
situated at global level of the CLASSPATH (resource "/logging.properties" for a Class).
If it does not find this resource it will nonetheless get rid of the standard ConsoleHandler
described in "lib/logging.properties".
- Author:
- bamade
|
Field Summary |
static ErrorManager |
ERROR_MANAGER
a simple global ErrorManager that print logging framework problems to the console. |
|
Method Summary |
static void |
cleanConsole()
gets the top logger (name "") and removes the standard ConsoleHandler |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ERROR_MANAGER
public static final ErrorManager ERROR_MANAGER
- a simple global ErrorManager that print logging framework problems to the console.
Should be changed to something that fires a network message
LogManagement
public LogManagement()
cleanConsole
public static void cleanConsole()
- gets the top logger (name "") and removes the standard ConsoleHandler
Copyright © 2013 LSST. All Rights Reserved.