RFR: 8191033: Regression in logging.properties: specifying .handlers= for root logger (instead of handlers=) no longer works

Martin Buchholz martinrb at google.com
Thu Dec 7 19:02:16 UTC 2017


On Thu, Dec 7, 2017 at 11:00 AM, Martin Buchholz <martinrb at google.com>
wrote:

> You went to the trouble of checking test.src.  Shouldn't  CONFIG_FILE be
> found relative to SRC_DIR?
>
>
Oh never mind, I now see you did

+        Path initialProps = SRC_DIR.resolve(CONFIG_FILE);
+        Path loggingProps = USER_DIR.resolve(CONFIG_FILE);



> +    public static final Path SRC_DIR =
> +            Paths.get(System.getProperty("test.src", "src"));
> +    public static final Path USER_DIR =
> +            Paths.get(System.getProperty("user.dir", "."));
> +    public static final Path CONFIG_FILE = Paths.get("logging.properties"
> );
>
>


More information about the core-libs-dev mailing list