public class LogManagement extends Object
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".| Modifier and Type | Field and Description |
|---|---|
static ErrorManager |
ERROR_MANAGER
a simple global ErrorManager that print logging framework problems to the console.
|
| Constructor and Description |
|---|
LogManagement() |
| Modifier and Type | Method and Description |
|---|---|
static Level |
cleanConsole()
gets the top logger (name "") and removes the standard ConsoleHandler
|
static boolean |
isConfigInitialized() |
static void |
setConfigInitialized(boolean configInitialized) |
static void |
setDefaultConsoleHandler(Level consoleLevel) |
public static final ErrorManager ERROR_MANAGER
public static boolean isConfigInitialized()
public static void setConfigInitialized(boolean configInitialized)
public static Level cleanConsole()
public static void setDefaultConsoleHandler(Level consoleLevel)
Copyright © 2014 LSST. All Rights Reserved.