[jboss-jira] [JBoss JIRA] (JGRP-2201) TRACE is logged as INFO

Jesper Blomquist (JIRA) issues at jboss.org
Wed Jul 5 03:04:00 EDT 2017


     [ https://issues.jboss.org/browse/JGRP-2201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesper Blomquist updated JGRP-2201:
-----------------------------------
    Description: 
In [Slf4jLogImpl|https://github.com/belaban/JGroups/blob/master/src/org/jgroups/logging/Slf4jLogImpl.java], the formatting "trace" method forwards to {{logger.info(formatted)}}

I would also love to se all formatting log methods check the log level before formatting (perhaps log level should always be checked before forwarding?).

  was:
In Slf4jLogImpl, the formatting "[trace|https://github.com/belaban/JGroups/blob/master/src/org/jgroups/logging/Slf4jLogImpl.java]" method forwards to {{logger.info(formatted)}}

I would also love to se all formatting log methods check the log level before formatting (perhaps log level should always be checked before forwarding?).



> TRACE is logged as INFO
> -----------------------
>
>                 Key: JGRP-2201
>                 URL: https://issues.jboss.org/browse/JGRP-2201
>             Project: JGroups
>          Issue Type: Bug
>    Affects Versions: 4.0.1
>            Reporter: Jesper Blomquist
>            Assignee: Bela Ban
>            Priority: Minor
>
> In [Slf4jLogImpl|https://github.com/belaban/JGroups/blob/master/src/org/jgroups/logging/Slf4jLogImpl.java], the formatting "trace" method forwards to {{logger.info(formatted)}}
> I would also love to se all formatting log methods check the log level before formatting (perhaps log level should always be checked before forwarding?).



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list