You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ignite TC Bot (Jira)" <ji...@apache.org> on 2022/04/25 14:56:00 UTC

[jira] [Commented] (IGNITE-16886) Support logging categories in ListeningTestLogger

    [ https://issues.apache.org/jira/browse/IGNITE-16886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17527554#comment-17527554 ] 

Ignite TC Bot commented on IGNITE-16886:
----------------------------------------

{panel:title=Branch: [pull/9995/head] Base: [master] : No blockers found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/9995/head] Base: [master] : No new tests found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}{panel}
[TeamCity *--&gt; Run :: All* Results|https://ci.ignite.apache.org/viewLog.html?buildId=6543812&amp;buildTypeId=IgniteTests24Java8_RunAll]

> Support logging categories in ListeningTestLogger
> -------------------------------------------------
>
>                 Key: IGNITE-16886
>                 URL: https://issues.apache.org/jira/browse/IGNITE-16886
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Pavel Pereslegin
>            Assignee: Pavel Pereslegin
>            Priority: Minor
>              Labels: test-framework
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> ListeningTestLogger should support categories.
> For now {{getLogger(Object ctgr)}} method does not delegate logger creation.
> For example:
> {code:java}
>     @Test
>     public void testCategory() {
>         ListeningTestLogger log = new ListeningTestLogger(log());
>         log.getLogger("category1").info("test");
>     }
> {code}
> expected output:
> [thread-name%][category1] test
> actual output
> [thread-name%][root] test



--
This message was sent by Atlassian Jira
(v8.20.7#820007)