vy commented on PR #1848:
URL: https://github.com/apache/logging-log4j2/pull/1848#issuecomment-1756169179

   @tristantarrant, thanks so much for taking time to not only report the 
problem, but also provide a fix. :bow: I have some concerns regarding this 
change. For one, it is backward incompatible, hence we cannot have your toggle 
enabled by default. Nevertheless, I think we don't need a toggle: 
`FastDateParser` can do better than matching against an enormous regex to 
figure out the time zone.
   
   Since `FastDateParser` is borrowed from Apache Commons Lang in 2015 (ouch!), 
I'd first check if the upstream already has a fix for this. Otherwise, I'd try 
to figure out a better way. All in all, I have an inkling that we can do better 
a regex.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to