Missing implementation dependency on /java-logging-intro
juanpablolunardi opened this issue · comments
https://www.baeldung.com/java-logging-intro
Description
Missing implementation dependency for log4j
Steps to reproduce the behavior:
- Create a maven project from scratch
- Add log4j-api & log4j-core as mentioned, and log4j2.xml
- Create a main method and log any line with debug, info and error level
Actual Behavior
Just error level is logged
Expected Behavior
All log levels are shown
Environment
- IntelliJ IDEA 2023.2.2 (Community Edition)
- OpenJDK Corretto-17.0.8.8.1
- OS: Ventura 13
My solution
Worked fine after adding dependency: org.apache.logging.log4j:log4j-slf4j-impl
Hey, @juanpablolunardi.
Thanks for the feedback. We'll look into this.
This issue will remain open until then.
Working fine now.
Working fine now.