I have been looking for a straightforward way to put together a cleanup method for the rolling log, since it does not perform this for itself.
I figured that I would be able to find the settings for the location of the rolling log via the Logger class, but I don't see any way to get to it from there.
My hope is to iterate through my listeners and find all rolling logs and perform cleanup on the older logs. I know this can be set up in a separate process run by the scheduler, however, it makes so much sense for this to be integrated, so that any and all
implementations of my logging class know that cleanup is done as configured for them.
Is there a way to read the configuration through the Logging AB classes or do I need to open up the configuration myself and read it?