3 Replies Latest reply on Jan 18, 2013 8:20 AM by bboulares

    Log files cleanup

    rpopa

      Is there a way to configure the periodic-rotating-file-handler to delete older files? For example I want to keep only the last X log files. The size-rotating-file-handler has the max-backup-index attribute to achieve this, but I couldn't find something similar for the periodic-rotating-file-handler.

       

      This could be done externaly with scripts, but that means there's another thing to maintain and it's also operating system dependant.