we are using log4j1 in ivy 9.1 and prior and have upgraded to log4j2 with the upcoming 9.2 release. there should be a lot of configuration references in the world wide web for log4j. please share here it if you have found it.
maybe log4j1 is not capable of this feature. so I would create a cronjob and script whatever you need.