You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "Maciej Ziarko (Created) (JIRA)" <ji...@apache.org> on 2012/03/29 17:10:28 UTC

[jira] [Created] (SHIRO-353) DefaultSecurityManager has invalid SLF4J log instruction

DefaultSecurityManager has invalid SLF4J log instruction
--------------------------------------------------------

                 Key: SHIRO-353
                 URL: https://issues.apache.org/jira/browse/SHIRO-353
             Project: Shiro
          Issue Type: Bug
    Affects Versions: 1.2.0
            Reporter: Maciej Ziarko
            Priority: Trivial


Invalid SLF4J message (string concatenation with {} inside template)

Line 550:

log.debug("Logging out subject with primary principal {}" + principals.getPrimaryPrincipal());

Should be:

log.debug("Logging out subject with primary principal {}", principals.getPrimaryPrincipal());

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (SHIRO-353) DefaultSecurityManager has invalid SLF4J log instruction

Posted by "Les Hazlewood (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SHIRO-353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13244350#comment-13244350 ] 

Les Hazlewood commented on SHIRO-353:
-------------------------------------

Line 550 in trunk already represents the recommended change.  What code did you check this against?
                
> DefaultSecurityManager has invalid SLF4J log instruction
> --------------------------------------------------------
>
>                 Key: SHIRO-353
>                 URL: https://issues.apache.org/jira/browse/SHIRO-353
>             Project: Shiro
>          Issue Type: Bug
>    Affects Versions: 1.2.0
>            Reporter: Maciej Ziarko
>            Priority: Trivial
>   Original Estimate: 2m
>  Remaining Estimate: 2m
>
> Invalid SLF4J message (string concatenation with {} inside template) in DefaultSecurityManager class.
> Line 550:
> log.debug("Logging out subject with primary principal {}" + principals.getPrimaryPrincipal());
> Should be:
> log.debug("Logging out subject with primary principal {}", principals.getPrimaryPrincipal());

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (SHIRO-353) DefaultSecurityManager has invalid SLF4J log instruction

Posted by "Maciej Ziarko (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHIRO-353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maciej Ziarko updated SHIRO-353:
--------------------------------

    Description: 
Invalid SLF4J message (string concatenation with {} inside template) in DefaultSecurityManager class.

Line 550:

log.debug("Logging out subject with primary principal {}" + principals.getPrimaryPrincipal());

Should be:

log.debug("Logging out subject with primary principal {}", principals.getPrimaryPrincipal());

  was:
Invalid SLF4J message (string concatenation with {} inside template)

Line 550:

log.debug("Logging out subject with primary principal {}" + principals.getPrimaryPrincipal());

Should be:

log.debug("Logging out subject with primary principal {}", principals.getPrimaryPrincipal());

    
> DefaultSecurityManager has invalid SLF4J log instruction
> --------------------------------------------------------
>
>                 Key: SHIRO-353
>                 URL: https://issues.apache.org/jira/browse/SHIRO-353
>             Project: Shiro
>          Issue Type: Bug
>    Affects Versions: 1.2.0
>            Reporter: Maciej Ziarko
>            Priority: Trivial
>   Original Estimate: 2m
>  Remaining Estimate: 2m
>
> Invalid SLF4J message (string concatenation with {} inside template) in DefaultSecurityManager class.
> Line 550:
> log.debug("Logging out subject with primary principal {}" + principals.getPrimaryPrincipal());
> Should be:
> log.debug("Logging out subject with primary principal {}", principals.getPrimaryPrincipal());

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (SHIRO-353) DefaultSecurityManager has invalid SLF4J log instruction

Posted by "Les Hazlewood (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHIRO-353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Les Hazlewood resolved SHIRO-353.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3.0
                   1.2.1

The bug was still in the 1.2.x branch.  Fixed in both the branch and the trunk.
                
> DefaultSecurityManager has invalid SLF4J log instruction
> --------------------------------------------------------
>
>                 Key: SHIRO-353
>                 URL: https://issues.apache.org/jira/browse/SHIRO-353
>             Project: Shiro
>          Issue Type: Bug
>    Affects Versions: 1.2.0
>            Reporter: Maciej Ziarko
>            Priority: Trivial
>             Fix For: 1.2.1, 1.3.0
>
>   Original Estimate: 2m
>  Remaining Estimate: 2m
>
> Invalid SLF4J message (string concatenation with {} inside template) in DefaultSecurityManager class.
> Line 550:
> log.debug("Logging out subject with primary principal {}" + principals.getPrimaryPrincipal());
> Should be:
> log.debug("Logging out subject with primary principal {}", principals.getPrimaryPrincipal());

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (SHIRO-353) DefaultSecurityManager has invalid SLF4J log instruction

Posted by "Les Hazlewood (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHIRO-353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Les Hazlewood closed SHIRO-353.
-------------------------------


Closing per the 1.2.1 release.
                
> DefaultSecurityManager has invalid SLF4J log instruction
> --------------------------------------------------------
>
>                 Key: SHIRO-353
>                 URL: https://issues.apache.org/jira/browse/SHIRO-353
>             Project: Shiro
>          Issue Type: Bug
>    Affects Versions: 1.2.0
>            Reporter: Maciej Ziarko
>            Priority: Trivial
>             Fix For: 1.2.1, 1.3.0
>
>   Original Estimate: 2m
>  Remaining Estimate: 2m
>
> Invalid SLF4J message (string concatenation with {} inside template) in DefaultSecurityManager class.
> Line 550:
> log.debug("Logging out subject with primary principal {}" + principals.getPrimaryPrincipal());
> Should be:
> log.debug("Logging out subject with primary principal {}", principals.getPrimaryPrincipal());

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira