From 9e0d174083ed772e30632506bf5b2f0ea7319be0 Mon Sep 17 00:00:00 2001 From: Vincent Latombe Date: Wed, 16 Oct 2024 20:38:37 +0200 Subject: [PATCH] Log the fact that a jar is being sent over channel (#767) --- src/main/java/hudson/remoting/JarLoaderImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/hudson/remoting/JarLoaderImpl.java b/src/main/java/hudson/remoting/JarLoaderImpl.java index f1fc0c866..4a6a610bc 100644 --- a/src/main/java/hudson/remoting/JarLoaderImpl.java +++ b/src/main/java/hudson/remoting/JarLoaderImpl.java @@ -46,6 +46,7 @@ public void writeJarTo(long sum1, long sum2, OutputStream sink) throws IOExcepti if (channel != null) { if (url.getProtocol().equals("file")) { try { + LOGGER.log(Level.FINE, () -> "sending " + url + " to " + channel.getName()); channel.notifyJar(new File(url.toURI())); } catch (URISyntaxException | IllegalArgumentException x) { LOGGER.log(Level.WARNING, x, () -> "cannot properly report " + url);