You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just created a new project using the micronaut launch app, added log4j2 as an option. When I start the generated empty project as is, I am getting an error from SL4J that says No SLF4J providers were found. Obviously, logging doesn't work. I can't tell exactly where the problem is, as the log4j dependencies are clearly in the gradle build file:
Expected Behavior
I just created a new project using the micronaut launch app, added log4j2 as an option. When I start the generated empty project as is, I am getting an error from SL4J that says No SLF4J providers were found. Obviously, logging doesn't work. I can't tell exactly where the problem is, as the log4j dependencies are clearly in the gradle build file:
Actual Behaviour
I expect slf4j to pickup log4j2 as the logger. I am getting a NoOp logger at runtime instead.
Steps To Reproduce
Go to https://micronaut.io/launch, on features add log4j2 and then generate a project.
Console output when I first run the blank app:
Environment Information
No response
Example Application
No response
Version
4.7.1
The text was updated successfully, but these errors were encountered: