diff --git a/core/src/main/java/hudson/XmlFile.java b/core/src/main/java/hudson/XmlFile.java index f624104df673..91d96959b61d 100644 --- a/core/src/main/java/hudson/XmlFile.java +++ b/core/src/main/java/hudson/XmlFile.java @@ -201,6 +201,9 @@ private Object unmarshal(Object o, boolean nullOut) throws IOException { } public void write(Object o) throws IOException { + if (LOGGER.isLoggable(Level.FINEST)) { + LOGGER.log(Level.FINEST, new Throwable(), () -> "Writing " + file); + } mkdirs(); AtomicFileWriter w = force ? new AtomicFileWriter(file)