[
https://issues.apache.org/jira/browse/RATIS-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai updated RATIS-1302:
------------------------------------
Description:
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.
was:
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 at least the empty line should be avoided.
> 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
>
> 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)