I have a requirement to print a console log just after the server start. That is after the line "server started in <some miliseconds> " , line i need to print my custom log, say " here i am JUST after server start".
I tried two methods to do so but both of them are printing log during and not after server start. One was to use TenantListener and add log to afterTenantStartUp() function. Another was to make use of servletContextListener, but no luck with that too printing correctly.
Can someone suggest a proper way or file which can be extended may be to add this custom logger to print right after server start.
Thanks.