I often face the problem that my log files are getting incredable huge. So huge even that it eats up all my disk space and I get an error 'no space left on device'.
I now clean the logs manually every now and then by: - Deleting all log files ending with .gz - Emptying all other log files
I would like to automate this and I was thinking maybe virtualmin/webmin has a feature supporting this easily. I can of course create an sh file to do the removes and call it via cron, but I`m not very good with this so hopefully there is a more easy solution.
Thanks in advance!