Configuring Fisheye to Rotate the Console Log File

Still need help?

The Atlassian Community is here for you.

Ask the community

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.

Last modified on Jan 25, 2022

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.