I want to automatically delete my Wildfly logs after a certain period of time (e.g. 3 days). As I am running my application in a container which has no access to crontab, I want to do this via a JBoss Cli. I have already tried the following command, but the option seems not to be supported:
/subsystem=logging/periodic-rotating-file-handler=FILE:write-attribute(name=max-backup-index, value=3)
Do you have any idea, how this can be achieved? Thank you in advance!