You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Ethan Rose (Jira)" <ji...@apache.org> on 2021/10/20 20:36:08 UTC

[jira] [Updated] (HDDS-1427) Differentiate log messages by service instance in test output

     [ https://issues.apache.org/jira/browse/HDDS-1427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ethan Rose updated HDDS-1427:
-----------------------------
    Target Version/s: 1.3.0  (was: 1.2.0)

I am managing the 1.2.0 release and we currently have more than 600 issues targeted for 1.2.0. I am moving the target field to 1.3.0.

If you are actively working on this jira and believe this should be targeted for the 1.2.0 release, Please reach out to me via Apache email or Slack.

> Differentiate log messages by service instance in test output
> -------------------------------------------------------------
>
>                 Key: HDDS-1427
>                 URL: https://issues.apache.org/jira/browse/HDDS-1427
>             Project: Apache Ozone
>          Issue Type: Improvement
>          Components: test
>            Reporter: Arpit Agarwal
>            Assignee: Arpit Agarwal
>            Priority: Major
>
> When running tests, the log output from multiple services is interleaved. This makes it very hard to follow the sequence of events.
> This is especially seen with MiniOzoneChaosCluster which starts 20 DataNodes in the same process.
> One way we can do this is by using [Log4j NDC|https://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/NDC.html] or [slf4j MDC|https://www.slf4j.org/api/org/slf4j/MDC.html] to print the PID and thread name/thread ID. It probably won't be a simple change.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org