Provide a possibility to mute Javalin startup messages
See original GitHub issueIt’s nice to see startup messages provided by Javalin by default, but it’s kinda problematic for apps that somehow want to customize an output:
We can mute Jetty with JettyUtil
:
JettyUtil.logDuringStartup = false
But for Javalin we can only disable whole logger:
JavalinLogger.enabled = false
Well, that’s not exactly what we want to do as we want log things like WARNs and ERRORs to know if something stopped working. I think that these startup messages should be configurable the same as we decide if we want to print Javalin banner or not at startup.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Provide a possibility to mute Javalin startup messages #1376
It's nice to see startup messages provided by Javalin by default, but it's kinda problematic for apps that somehow want to customize an ......
Read more >Documentation - A lightweight Java and Kotlin web framework
Javalin - A lightweight Java and Kotlin web framework. Create REST APIs in Java or Kotlin easily.
Read more >How to disable Javalin logging - Stack Overflow
Javalin uses SLF4J for logging (you can even see the class name Slf4jLog in the first message). This is an abstracton which can...
Read more >javalin-io/general - Gitter
I just tried this. The problem is that if you set ctx.status() in the exception handler, the error handler will be triggered after...
Read more >Read Web Applications with Javalin | Leanpub
Why should I use Javelin over Spring Boot or Vert.x? Javalin is a microservice framework with a built in app server ( making...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ll take a look at it a little bit later as I think it requires some extra research to see how it works under the hood, especially that Jetty also lately logs some stuff at startup.
I’ve created a pull request, is this what you were looking for?