From 2275a5bd3783d85c7f226f5669c556f75b2bbf57 Mon Sep 17 00:00:00 2001 From: phuong Date: Thu, 12 Aug 2021 22:47:56 +0700 Subject: [PATCH] Use system out --- .../registry/client/controller/HealthCheckController.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/iso-registry-client/src/main/java/org/iso/registry/client/controller/HealthCheckController.java b/src/iso-registry-client/src/main/java/org/iso/registry/client/controller/HealthCheckController.java index 28e91960..2693196f 100644 --- a/src/iso-registry-client/src/main/java/org/iso/registry/client/controller/HealthCheckController.java +++ b/src/iso-registry-client/src/main/java/org/iso/registry/client/controller/HealthCheckController.java @@ -37,5 +37,11 @@ public void logRuntime() { logger.info("heapFreeSize= {}", heapFreeSize); logger.info("totalMemory= {}", runtime.totalMemory()); logger.info("availableProcessors= {}", runtime.availableProcessors()); + + System.out.println("heapSize= " + heapSize); + System.out.println("heapMaxSize= " + heapMaxSize); + System.out.println("heapFreeSize= " + heapFreeSize); + System.out.println("totalMemory= " + runtime.totalMemory()); + System.out.println("availableProcessors= " + runtime.availableProcessors()); } }