New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3720/bug/manage solr logs #4066
3720/bug/manage solr logs #4066
Conversation
- Job deletes all files in /var/log/tomcat7 that are over 7 days old
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is actually a super elegant & simple solution! I like it :) A few small comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm! I tested running the command inside the solr container manually, and it wasn't matching any files, but a bit of positive thinking seemed to fix that :) Haven't tested the full flow (i.e. cron is successfully running, etc); we're making loads of changes to the docker-compose file right now because of the py3 stuff, so would rather we get this merged in now :) I'll deploy to ol-solr1 and check tomorrow to see if it was deleted!
Closes #3720
Creates daily cron job in olsolr that removes all files in
/var/log/tomcat7/
that are more than seven days old. Also sets limits on the size of Docker's olsolr logs.Technical
Testing
Screenshot
Stakeholders