swagger-codegen-generators
swagger-codegen-generators copied to clipboard
Versions 1.0.21+ prevent any log output from Spring Boot applications
If you include version 1.0.21 or newer of this in a Spring Boot project, no output is written to the console anymore.
Expected output from mvn spring-boot:run
in a given project
[INFO] --- spring-boot-maven-plugin:2.5.4:run (default-cli) @ output-test ---
[INFO] Attaching agents: []
_ _ _ _
___ _ _ | |_ _ __ _ _ | |_ | |_ ___ ___ | |_
/ _ \ | | | || __|| '_ \ | | | || __| _____ | __| / _ \/ __|| __|
| (_) || |_| || |_ | |_) || |_| || |_ |_____|| |_ | __/\__ \| |_
\___/ \__,_| \__|| .__/ \__,_| \__| \__| \___||___/ \__|
|_|
2021-09-10 14:40:46.629 INFO 57473 --- [ restartedMain] com.example.application.Application : Starting Application using Java 16 on MacBook-Prime.local with PID 57473 (/.../output-test/target/classes started by ... in /.../output-test)
2021-09-10 14:40:46.632 INFO 57473 --- [ restartedMain] com.example.application.Application : No active profile set, falling back to default profiles: default
2021-09-10 14:40:46.677 INFO 57473 --- [ restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable
2021-09-10 14:40:46.677 INFO 57473 --- [ restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG'
2021-09-10 14:40:47.533 INFO 57473 --- [ restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)
2021-09-10 14:40:47.542 INFO 57473 --- [ restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2021-09-10 14:40:47.542 INFO 57473 --- [ restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.52]
2021-09-10 14:40:47.637 INFO 57473 --- [ restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2021-09-10 14:40:47.637 INFO 57473 --- [ restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 959 ms
2021-09-10 14:40:47.768 INFO 57473 --- [ restartedMain] c.v.f.s.VaadinServletContextInitializer : Search for VaadinAppShell took 23 ms
2021-09-10 14:40:47.772 INFO 57473 --- [ restartedMain] c.v.f.s.s.VaadinAppShellInitializer : Using com.example.application.Application class for configuring `index.html` response
2021-09-10 14:40:50.238 INFO 57473 --- [ restartedMain] c.v.f.s.VaadinServletContextInitializer : Search for subclasses and classes with annotations took 2403 ms
2021-09-10 14:40:50.241 INFO 57473 --- [ restartedMain] c.v.b.d.startup.DevModeInitializer : Starting dev-mode updaters in /.../output-test folder.
Output when adding 1.0.21
[INFO] --- spring-boot-maven-plugin:2.5.4:run (default-cli) @ output-test ---
[INFO] Attaching agents: []
_ _ _ _
___ _ _ | |_ _ __ _ _ | |_ | |_ ___ ___ | |_
/ _ \ | | | || __|| '_ \ | | | || __| _____ | __| / _ \/ __|| __|
| (_) || |_| || |_ | |_) || |_| || |_ |_____|| |_ | __/\__ \| |_
\___/ \__,_| \__|| .__/ \__,_| \__| \__| \___||___/ \__|
|_|
Most likely caused by https://github.com/swagger-api/swagger-codegen-generators/pull/703