|Modifier and Type||Field and Description|
Name of system property containing (
|Constructor and Description|
|Modifier and Type||Method and Description|
Initializes logging from the value of the
Sets the logging level(s) from a short string, the kind of thing you might get from a command-line switch.
public static void setConfiguration(String config)
The format of the string is a comma-separated list of zero or more directives, each of the form
[<handlername>=]<level>if <handlername> is omitted the root handler is assumed. The <level> can be either one of the
Levelnames (case-insensitive) or an equivalent integer value.
config- configure string
configis of the wrong form
public static void initFromProperty()
CONFIG_PROPproperty if it is defined. If it is not, and if neither of the standard
LogManagercontrol properties (
java.util.logging.config.file) are defined either, then the logging system is initialized so that only messages of
java.util.loggingproperties are not defined either (these standard
Copyright © 2003-2019 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.