sman-81 edited a comment on pull request #542:
URL: https://github.com/apache/logging-log4j2/pull/542#issuecomment-907319321


   > [..] All existing patterns effectively use `rightWordCount=1`, however we 
could make that configurable and allow existing options to work with this.
   
   @carterkozak
   I don't think this is the case. Consider patterns such as  `1.1.1.*`. The 
number of unmodified words at the right side depends on the length of the 
string to be abbreviated, not on the pattern.
   `NameAbbreviator` is abstract. Implementations are `MaxElementAbbreviator` 
and `PatternAbbreviator`.
   I don't see a good way of covering the feature request within these two 
implementations, and have therefore added `DynamicWordAbbreviator`.


-- 
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


Reply via email to