jdk/test/java/util/logging/RootLogger/RootLevelInConfigFile.java
changeset 32649 2ee9017c7597
parent 30820 0d4717a011d3
child 32834 e1dca5fe4de3
equal deleted inserted replaced
32648:1fa861caf840 32649:2ee9017c7597
    47  *
    47  *
    48  * @author danielfuchs
    48  * @author danielfuchs
    49  */
    49  */
    50 public class RootLevelInConfigFile {
    50 public class RootLevelInConfigFile {
    51 
    51 
    52     public final static String CONFIG_FILE_KEY = "java.util.logging.config.file";
    52     public static final String CONFIG_FILE_KEY = "java.util.logging.config.file";
    53 
    53 
    54     public static void main(String[] args) throws IOException {
    54     public static void main(String[] args) throws IOException {
    55         System.setProperty(CONFIG_FILE_KEY,
    55         System.setProperty(CONFIG_FILE_KEY,
    56                 new File(System.getProperty("test.src", "."),
    56                 new File(System.getProperty("test.src", "."),
    57                         "rootlogger.properties").getAbsolutePath());
    57                         "rootlogger.properties").getAbsolutePath());