We are using JIRA in LINUX environment and we are working on to wtite shell scripts with shedular times. we need a clear explination on these following requests.
1.Deleting old log files – logs that are older than 90 days on Jira server.
2. Recovering disk space are
Hi Nic Brough,
Can you please give more information on logrotate with sample examples.
I usually work from https://wiki.archlinux.org/index.php/Logrotate but it is a little dry and short of examples, a better one with sample configs that are a good starter (but older) is at https://www.digitalocean.com/community/tutorials/how-to-manage-logfiles-with-logrotate-on-ubuntu-16-04
Note that both contain a lot of installation stuff. Try "logrotate --version" first - if that returns a version, you can skip reading most of the installation stuff, as you already have it (a lot of Linux distros install it by default)
Hi Nic Brough,
Thank you so much for your quick responce.
I'm very new this configuration so I want to share my system and setup for once a while then its makes me more comfortable on this issue.