Skip to content

Commit

Permalink
📝 docs : thread, cpu log 패턴 변경 merge
Browse files Browse the repository at this point in the history
📝 docs : thread, cpu log 패턴 변경 #559
  • Loading branch information
hobeen-kim authored Oct 19, 2023
2 parents c434e00 + 224c5b2 commit dd3eafe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public void doFilter(ServletRequest request, ServletResponse response, FilterCha
OperatingSystemMXBean osBean = ManagementFactory.getPlatformMXBean(OperatingSystemMXBean.class);
double sysCpuLoad = osBean.getSystemCpuLoad() * 100;

log.info("Thread Count : {}, CPU usage : {}%", Thread.activeCount(), sysCpuLoad);
log.info("Thread Count: {} CPU usage: {} %", Thread.activeCount(), sysCpuLoad);
}


Expand Down

0 comments on commit dd3eafe

Please sign in to comment.