Configuring Fisheye to Rotate the Console Log File

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

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 rile 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 not 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.

最終更新日 2018 年 7 月 31 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.