Some (very early stage) thinking on that topic is here: https://issues.apache.org/jira/browse/LOG4J2-1198
This may not be easy because there are quite a few subtleties with rollovers (search the Log4j2 JIRA for rolling and rollover). Remko (Shameless plug) Every java main() method deserves http://picocli.info > On May 18, 2017, at 22:38, Chandra <chandra.tungathur...@rwth-aachen.de> > wrote: > > Hi guys, > > So my requirement is to log the file names of the log files at the time of > rotation. I came across the `Actions` PluginElement in > DefaultRolloverStrategy. > Can this be used for the purpose. I haven’t worked on it and it seems there > aren’t many good resources for this. Anyone worked on the creating custom > actions in Rollover strategy. > > > thanks, > Chandra