Closed sam-i-am012 closed 3 months ago
Moving forward, let's try to keep the number of issues addressed in a PR down to one. That makes reviewing the PR much easier/faster.
Focus on resolving a single issue. If you can address multiple issues without them interleaving, that's where opening multiple PRs makes sense.
What's the status of this PR?
Oh sorry, I was only adding it to the query endpoint, not to all the other ones. I just figured it might be convenient to begin adding loggers here and then add them to the rest of the tests as I go along instead of having to go through every test again at the end to add the logging.
I believe this PR is ready for review, I added an extra commit last night when I realized I forgot to make a variable private
.
No problem. Please squash things to taste and/or attach issue numbers to the commits without them and then I'll do a pass over the code.
We don't receive notifications for force-pushes. Anytime you do that, post a comment so we're notified.
I've just finished squashing everything.
All existing comments have been resolved. Awaiting further review.
All existing comments have been resolved. Awaiting further review.
All comments have been resolved.
I removed some variables that I realized I wasn't using.
Please run the tests and if they pass, squash the commits to taste.
Done.
I have resolved the comments.
Yes, tests are all passing and if I remove the LevelRangeFilter from only displaying logs at the error level, the messages are written to console.
I'm not familiar with the level range filter. What does that do?
Normally, the person just changes the log level to get more output (e.g. from info
to debug
or trace
).
It should only write the message to the console when its on the error level, but I got that from watching a youtube tutorial and that's what he did. I could just remove it too if that is not the norm.
No, it's fine as is.
So for now, if the tests are passing, squash to taste.
Are you happy with the commits? Has everything been squashed to your liking?
Sorry, didn't see this comment. I'm squashing now.
Done.
Done.
Merging.
Addresses #21 Also added logging using Log4j 2 (#46)