SUPPORT-9182: log request time
This commit is contained in:
parent
008ecc7445
commit
40fecd062f
1 changed files with 2 additions and 0 deletions
|
|
@ -183,6 +183,7 @@ public class EsiaAuthService {
|
|||
}
|
||||
|
||||
public void authEsiaTokensByCode(String esiaAuthCode, String state, HttpServletResponse response, HttpServletRequest request) {
|
||||
long startReqTime = System.currentTimeMillis();
|
||||
String esiaAccessTokenStr = null;
|
||||
String prnOid = null;
|
||||
Long expiresIn = null;
|
||||
|
|
@ -287,6 +288,7 @@ public class EsiaAuthService {
|
|||
);
|
||||
}
|
||||
createTokenAndAddCookie(response, prnOid, ervuId, expiresIn);
|
||||
LOGGER.info("Thread {} - Request time: {} ms", Thread.currentThread().getId(), System.currentTimeMillis() - startReqTime);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue