general cleanup

This commit is contained in:
Oleg Zhurakousky
2018-10-26 16:11:55 +02:00
parent bf9ab3ac0a
commit 265a9d61aa
3 changed files with 3 additions and 4 deletions

View File

@@ -183,7 +183,7 @@ class FunctionEndpointInitializer
logger.info("Server started");
try {
double uptime = ManagementFactory.getRuntimeMXBean().getUptime();
System.err.println("JVM running for " + uptime + "ms");
logger.error("JVM running for " + uptime + "ms");
}
catch (Throwable e) {
// ignore