'old release of javalin' message
See original GitHub issuewhile looking over the whole series of log4j issues etc, we noticed a number of messages coming in the logs that probably aren’t really issues that most of our users would need to even see…
firstly ‘old release of javalin’ is coming up because we’re still on 4.1.1, but it’s also the latest release of javalin, so the warning may be a little much? I’d settle for being able to silence it but i can equally understand why it’s there.
You are running Javalin 4.1.1 (released October 10, 2021. Your Javalin version is 72 days old. Consider upgrading!).
Also, it would be nice to be able to silence the ‘never started it’ message, as sometimes our startup takes a while and it gets noisy if libraries told us they weren’t started… I’m not sure if this is a new issue, we’ve recently added javalin to another package that has to load a number of resources before it can start the rest api…
Javalin | It looks like you created a Javalin instance, but you never started it.
Javalin | Try: Javalin app = Javalin.create().start();
It’s not that we never started it, it’s just that we didn’t get time to do any of the other loading yet, so we haven’t got as far as starting it…
If users see it in the log they might ask questions, and it’s not really anything they can ‘improve on’, other than us restructuring how things are starting up… I can provide more context if needed, but suffice to say we create the app object during a ‘create’ function, and don’t call start until the required resources are loaded, and due to a number of factors that may be of the order of minutes…
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (11 by maintainers)
Top GitHub Comments
Thanks @tipsy ! I’ll try this today. Sorry it’s been slow, end of year so I was off-grid 😃
It’s already added, just wrote this in a test project: