Skip to content

Jv logger solution#1248

Open
FranticSkipper wants to merge 3 commits into
mate-academy:masterfrom
FranticSkipper:jv-logger-solution
Open

Jv logger solution#1248
FranticSkipper wants to merge 3 commits into
mate-academy:masterfrom
FranticSkipper:jv-logger-solution

Conversation

@FranticSkipper
Copy link
Copy Markdown

No description provided.

Copy link
Copy Markdown

@mateacademy-ai-mentor mateacademy-ai-mentor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Summary

The Java implementation is well-done with proper logger usage, informative messages, and correct .gitignore configuration. However, requirement #1 explicitly requires configuring the logger with File and Console appenders, and the log4j2.xml or log4j2.properties configuration file is missing from your submission. Without this configuration file, the logging system cannot function as specified. Please create and include the Log4j2 configuration file that defines both appenders. A typical structure would include a Console appender for stdout and a File appender configured to write to the logs directory that you've already excluded in .gitignore. The good news: your Java code is ready to use these appenders once configured - just add the configuration file to src/main/resources/ (e.g., log4j2.xml or log4j2.properties) and you're all set.


✨ Please rate this review in the Platform's notification center1. I will be grateful for your feedback! ✨

Important

Fix the issues, commit the changes, and then re-request my review using the Re-request review button2 in the Reviewers tab.

Tip

If you have any comments about this review, please leave a message in the Add a comment section below and mention me with the @mateacademy-ai-mentor tag3.
I will read your message during my next review of your pull request. Please do not reply directly to my comments, as that feature is not supported yet.

Caution

Do not close the pull request until the review is complete. Closing it early can lead to unexpected behavior and disrupt the review process.

Footnotes

  1. Rate AI review example

  2. Re-request AI review example

  3. Add AI review comments example

Comment thread .gitignore
@@ -1,3 +1,4 @@
.idea/*
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The log4j2 configuration file (log4j2.xml or log4j2.properties) with File and Console appenders is not included in the submitted files. Per requirement #1, the logger must be configured with both appenders for logging to function properly.

@FranticSkipper
Copy link
Copy Markdown
Author

I have already added a configuration file "src/main/resources/log4j2.xml". @mateacademy-ai-mentor

Copy link
Copy Markdown

@mateacademy-ai-mentor mateacademy-ai-mentor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Summary

Your implementation meets all task requirements and is ready for merging.


✨ Please rate this review in the Platform's notification center1. I will be grateful for your feedback! ✨

Footnotes

  1. Rate AI review example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants