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

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

                Author: ASF GitHub Bot
            Created on: 31/Jan/20 18:29
            Start Date: 31/Jan/20 18:29
    Worklog Time Spent: 10m 
      Work Description: risdenk commented on pull request #250: KNOX-2209 - 
Improve logging for Knox token handling
URL: https://github.com/apache/knox/pull/250#discussion_r373621258
 
 

 ##########
 File path: 
gateway-service-knoxtoken/src/main/java/org/apache/knox/gateway/service/knoxtoken/TokenResource.java
 ##########
 @@ -384,4 +391,9 @@ private long getExpiry() {
     }
     return expiry;
   }
+
+  private String getTopologyName() {
+    return (String) 
context.getAttribute("org.apache.knox.gateway.gateway.cluster");
 
 Review comment:
   Broader consumption - doesn't have to be as part of this change. The string 
`"org.apache.knox.gateway.gateway.cluster"` is being used to insert the 
topology value into the context. 
 
----------------------------------------------------------------
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:
[email protected]


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

    Worklog Id:     (was: 380136)
    Time Spent: 1h  (was: 50m)

> Improve logging for Knox token handling
> ---------------------------------------
>
>                 Key: KNOX-2209
>                 URL: https://issues.apache.org/jira/browse/KNOX-2209
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 1.4.0
>            Reporter: Philip Zampino
>            Assignee: Philip Zampino
>            Priority: Major
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> To improve the diagnosability of Knox token-related errors, additional log 
> messages should be added to:
>  * TokenResource
>  * TokenStateService implementations
>  * AbstractIDBTokenRenewer (and subclasses)



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

Reply via email to