Skip to content

Commit

Permalink
add debug log when setting cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
xhanin committed Feb 3, 2015
1 parent 620b2ec commit e076409
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ private void updateSessionInClient(RestxResponse resp, RestxSession session) {
resp.clearCookie(restxSessionCookieDescriptor.getCookieSignatureName());
} else {
for (Map.Entry<String, String> cookie : cookiesMap.entrySet()) {
logger.debug("setting cookie: {} {}", cookie.getKey(), cookie.getValue());
resp.addCookie(cookie.getKey(), cookie.getValue(), session.getExpires());
}
}
Expand Down

0 comments on commit e076409

Please sign in to comment.