You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/06/05 20:32:00 UTC

[jira] [Work logged] (KNOX-2378) AliasBasedTokenStateService log message is misleading

     [ https://issues.apache.org/jira/browse/KNOX-2378?focusedWorklogId=442027&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-442027 ]

ASF GitHub Bot logged work on KNOX-2378:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 05/Jun/20 20:31
            Start Date: 05/Jun/20 20:31
    Worklog Time Spent: 10m 
      Work Description: pzampino opened a new pull request #339:
URL: https://github.com/apache/knox/pull/339


   ## What changes were proposed in this pull request?
   
   Logging change to be more accurate. As it was, the same log message was being emitted twice for every token.
   
   ## How was this patch tested?
   
   Full build/tests, and then manually verified the logging change.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 442027)
    Remaining Estimate: 0h
            Time Spent: 10m

> AliasBasedTokenStateService log message is misleading
> -----------------------------------------------------
>
>                 Key: KNOX-2378
>                 URL: https://issues.apache.org/jira/browse/KNOX-2378
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 1.5
>            Reporter: Philip Zampino
>            Assignee: Philip Zampino
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> KNOX-2375 introduced some logging, which is misplaced, and can be misleading.
> For each token, the message indicates that Knox is creating the associated alias*es* twice, rather than just once.
> {noformat}
> 2020-06-03 01:16:49,799 DEBUG token.state (AliasBasedTokenStateService.java:persistTokenState(97)) - Creating token state aliases for fb8cf194-bac6-4001-80e3-04e7d4543a83
> 2020-06-03 01:16:54,056 DEBUG token.state (AliasBasedTokenStateService.java:persistTokenState(97)) - Creating token state aliases for fb8cf194-bac6-4001-80e3-04e7d4543a83{noformat}



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