I understand that there are limitations to logging based on log4j and in Tomcat but it is a pain for an Administrator, and for Atlassian support engineers to work with massive logfiles. JIRA should ship with a logging system which has log rotation enabled by default for more than just instance restarts.
Choose one them:
- Options to rotate the catalina.out and detailed steps for using logrotate are documented at How to Rotate the Catalina Log File.
- Increase logging level for console loggers to WARN and restart JIRA, see diff:
- Remove all console from log specific logging events, see examples