Configuring Fisheye to Rotate the Console Log File

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

To prevent the Fisheye server from running out of disk space due to the large growth of the console output file (fisheye.out), it's possible to use logrotate on Linux servers to rotate the log file daily. To do this, create a Fisheye/Crucible logrotate configuration file in /etc/logrotate.d with the following configuration:

<$FISHEYE_INST>/var/log/fisheye.out { copytruncate daily rotate 7 compress delaycompress notifempty }

To test this, execute logrotate -f fecru

If successful, there will now be a fisheye.out.1 file that has been rotated and Fisheye/Crucible will continue to log in fisheye.out. Most systems have a cron job already configured to run daily which should rotate the logs for you.

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.