micronaut-projects / micronaut-core

Micronaut Application Framework
http://micronaut.io
Apache License 2.0
6.05k stars 1.06k forks source link

after update to micronaut 4.1.0 and Micronaut Data 4.1.2 my app is not starting with no additional message #9847

Open alapierre opened 1 year ago

alapierre commented 1 year ago

Expected Behavior

application start like before update

Actual Behaviour

 __  __ _                                  _   
|  \/  (_) ___ _ __ ___  _ __   __ _ _   _| |_ 
| |\/| | |/ __| '__/ _ \| '_ \ / _` | | | | __|
| |  | | | (__| | | (_) | | | | (_| | |_| | |_ 
|_|  |_|_|\___|_|  \___/|_| |_|\__,_|\__,_|\__|

Process finished with exit code 1

Steps To Reproduce

I used this instruction to upgrade Micronaut from 3.x to 4.x: https://micronaut.io/2023/07/14/upgrade-to-micronaut-framework-4-with-openrewrite-and-maven/

and:

Environment Information

Linux Mint (5.15.0-83-generic #92-Ubuntu SMP Mon Aug 14 09:30:42 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux) Open JDK 17.0.2 maven packaging jar netty

Example Application

No response

Version

4.1.0

alapierre commented 1 year ago

the problem was in application.yml logger config, when I remove it:

logger:
  levels:
    io.alapierre.ksef: DEBUG
    io.micronaut.context: INFO

app starts. It works in 3.x.

graemerocher commented 1 year ago

please try 4.1.3