carterkozak commented on pull request #542: URL: https://github.com/apache/logging-log4j2/pull/542#issuecomment-897285253
When I have some time to tinker, I think this feature could be added to the existing abbreviator. All existing patterns effectively use `rightWordCount=1`, however we could make that configurable and allow existing options to work with this. Something along the lines of ```java int limit = input.length(); for (int i = 0; I < rightWordCount; I++) { limit = input.lastIndexOf('.', limit); if (limit < 0) { return input; } } // call into standard abbreviator. ``` -- 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: notifications-unsubscr...@logging.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org