Hi, Very happy with the plugin system with log4j2, but I'm working on a custom rollover policy and am trying to get a list of all associated log files with the logger I'm rolling over for. Does anyone know if there's an easy way/example on how to get a filename filter or the equivalent to filter a listFiles result set? I'm looking to do some processing/archiving/rollingover based upon some relatively arbitrary criteria but it would be easier if I could just get all the matching files present instead of iterating with an index being passed into the StrSub or patternprocessor. Reason being is that the indexing is unbounded so I don't want to go from 1 to 4000 in a loop if all the indexes present are 3990->4000, seems like a waste of 3989 iterations.
Thanks, James Hutton
