Skip to content

Commit c552c97

Browse files
author
klaus.freitas.scclouds
committed
more log refactor
1 parent 311706e commit c552c97

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

agent/src/main/java/com/cloud/agent/resource/consoleproxy/ConsoleProxyResource.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,12 +175,12 @@ private Answer executeProxyLoadScan(final Command cmd, final long proxyVmId, fin
175175
try {
176176
is.close();
177177
} catch (final IOException e) {
178-
logger.warn("Exception when closing , console proxy address : " + proxyManagementIp);
178+
logger.warn("Exception when closing , console proxy address : {}", proxyManagementIp);
179179
success = false;
180180
}
181181
}
182182
} catch (final IOException e) {
183-
logger.warn("Unable to open console proxy command port url, console proxy address : " + proxyManagementIp);
183+
logger.warn("Unable to open console proxy command port url, console proxy address : {}", proxyManagementIp);
184184
success = false;
185185
}
186186

0 commit comments

Comments
 (0)