-
Notifications
You must be signed in to change notification settings - Fork 10
Updated Log4J from version 1.2.17 to version 2.24.3 #385
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: feature/1.6.0
Are you sure you want to change the base?
Conversation
|
Presuming the update and change of packaging to log4j-core , is like going from .net Framework -> .Net core ? hence the namespacing changes within some of the logging calls ? |
@grant-dot-dev I've got very limited Java knowledge but yes I think that's correct. It looks like they made the move a while back. |
| @Override | ||
| public BaseServerResponseException preProcessOutgoingException(RequestDetails theRequestDetails, | ||
| Throwable theException, HttpServletRequest theServletRequest) throws ServletException { | ||
| Throwable theException, HttpServletRequest theServletRequest) throws ServletException { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd suggest formatting the arguments like this once they start to get too long. Not enough for me to reject the PR but one to be aware of.
public BaseServerResponseException preProcessOutgoingException(
RequestDetails theRequestDetails,
Throwable theException,
HttpServletRequest theServletRequest
) throws ServletException {
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one comment about argument structuring but otherwise I'm happy with it. It's probably too big of a change for this codebase, but I'd suggest moving to Spring's @Slf4j or even @Log4j2 annotations rather than creating a LogManager object everywhere it's needed, but it's not a dealbreaker.
I mirrored the changes by Lillie in this PR -> #383