Skip to content

Commit

Permalink
added response in logs
Browse files Browse the repository at this point in the history
  • Loading branch information
harshjohar committed Jan 31, 2024
1 parent 273dba0 commit 953d48d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public void afterCompletion(HttpServletRequest request, HttpServletResponse resp
logger.info("Sent response: {} {} with status {}", request.getMethod(), request.getRequestURI(), response.getStatus());
}
else {
logger.error("Sent response: {} {} with status {} and exception {}", request.getMethod(), request.getRequestURI(), response.getStatus(), ex.getMessage());
logger.error("Sent response: {} {} with status {} and exception {}", request.getMethod(), request.getRequestURI(), response.getStatus(), ex.getStackTrace());
}
}
}

0 comments on commit 953d48d

Please sign in to comment.