Skip to content

Commit d708143

Browse files
Tanisha Ghaisureshanaparti
authored andcommitted
Log full exception in JMX reporter warning
1 parent 59dc7ac commit d708143

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/src/main/java/com/cloud/server/StatsCollector.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ public boolean start() {
418418
try {
419419
JmxReporter.forRegistry(METRIC_REGISTRY).inDomain("vm-extra").build().start();
420420
} catch (Exception e) {
421-
LOGGER.warn("Failed to start JMX reporter for METRIC_REGISTRY; CloudOS metrics will not be visible via JMX: " + e.getMessage());
421+
LOGGER.warn("Failed to start JMX reporter for METRIC_REGISTRY; CloudOS metrics will not be visible via JMX", e);
422422
}
423423
return true;
424424
}

0 commit comments

Comments
 (0)