https://bz.apache.org/bugzilla/show_bug.cgi?id=69817
--- Comment #3 from Christopher Schultz <[email protected]> --- One way to do this would be to add a default method to AccessLogElement like this: default void addElement(CharArrayWriter buf, Instant date, Request request, Response response, long time) { this.addElement(buf, Date.from(date), request, response, time); } Then DateAndTimeElement could override the Instant-based overload. But that generates tons of garbage for all the other implementations, unless rewritten. I'm not sure there is a less-bad way to do this in a way that won't break anyone's custom logging they may have built. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
