LoggerHandlerImpl elapsed time

12 views
Skip to first unread message

Mike Wiesenberg

unread,
Mar 24, 2026, 9:46:26 AM (12 days ago) Mar 24
to vert.x
Hello!
 I just noticed that in LoggerHandlerImpl, the time elapsed (System.currentTimeMillis() - timestamp) is logged when in 'short' or 'tiny' modes but not when in 'Default' or 'Combined' modes. 


That doesn't make sense, right? You shouldn't have to switch to tiny/short mode to get time elapsed printed, it should also be printed in the other modes.

Thanks
 Mike

Thomas SEGISMONT

unread,
Mar 24, 2026, 11:31:54 AM (12 days ago) Mar 24
to ve...@googlegroups.com
Hi!

Well, I guess it depends on who you ask.

Anyway, I'd rather not break a log format, especially as a custom one can be provided.

Regards,
Thomas

--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/vertx/0f10cbbc-b003-437b-8792-caa91ac2fb63n%40googlegroups.com.

Paulo Lopes

unread,
Mar 24, 2026, 1:06:22 PM (12 days ago) Mar 24
to ve...@googlegroups.com
Hi,

In the combined format it "makes sense" because it is a well defined format used by apache and it is known to be the right format to feed to other logging tools like https://goaccess.io/

If you need a custom format it is possible to have what you need in a new implementation.

Cheers,
Paulo 


---- On Tue, 24 Mar 2026 14:46:25 +0100 tora...@gmail.com wrote ----

--
Reply all
Reply to author
Forward
0 new messages