[
https://issues.apache.org/jira/browse/RATIS-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shashikant Banerjee updated RATIS-1302:
---------------------------------------
Fix Version/s: 1.1.0
> JvmPauseMonitor logs multi-line message
> ---------------------------------------
>
> Key: RATIS-1302
> URL: https://issues.apache.org/jira/browse/RATIS-1302
> Project: Ratis
> Issue Type: Improvement
> Components: common
> Reporter: Attila Doroszlai
> Assignee: Attila Doroszlai
> Priority: Trivial
> Fix For: 2.0.0, 1.1.0
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> JvmPauseMonitor prints multiline message in the log.
> {noformat}
> om_1 | 2021-01-29 14:59:37,955
> [org.apache.ratis.util.JvmPauseMonitor$$Lambda$364/0x0000000840497c40@47272cd3]
> WARN util.JvmPauseMonitor: JvmPauseMonitor-om1: Detected pause in JVM or
> host machine (eg GC): pause of approximately 188209400ns
> om_1 |
> om_1 | No GCs detected
> {noformat}
> I think the empty line should be avoided, and the "No GCs detected" could fit
> in the same single line. Printing each GC pool in its own line, in case of
> collection, is fine.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)