From 252a540686020875ed981135214c6ba196488d95 Mon Sep 17 00:00:00 2001 From: Vladimir Kotal Date: Tue, 8 Oct 2024 10:05:50 +0200 Subject: [PATCH] quote path in log statement (#4669) --- .../org/opengrok/indexer/configuration/Configuration.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opengrok-indexer/src/main/java/org/opengrok/indexer/configuration/Configuration.java b/opengrok-indexer/src/main/java/org/opengrok/indexer/configuration/Configuration.java index d9fed1c0ace..11ecca956f5 100644 --- a/opengrok-indexer/src/main/java/org/opengrok/indexer/configuration/Configuration.java +++ b/opengrok-indexer/src/main/java/org/opengrok/indexer/configuration/Configuration.java @@ -18,7 +18,7 @@ */ /* - * Copyright (c) 2007, 2023, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2007, 2024, Oracle and/or its affiliates. All rights reserved. * Portions Copyright (c) 2017, 2020, Chris Fraire . * Portions Copyright (c) 2020, Aleksandr Kirillov . */ @@ -1510,7 +1510,7 @@ public void encodeObject(OutputStream out) { } public static Configuration read(File file) throws IOException { - LOGGER.log(Level.INFO, "Reading configuration from {0}", file.getCanonicalPath()); + LOGGER.log(Level.INFO, "Reading configuration from ''{0}''", file.getCanonicalPath()); try (FileInputStream in = new FileInputStream(file)) { return decodeObject(in); }