After upgrading to Bamboo 6.10 or later catalina.out no longer contains Bamboo application logs

お困りですか?

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

コミュニティに質問


プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

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.

*Fisheye および Crucible は除く

要約

Prior to Bamboo 6.10 all messages written to the standard output of the tomcat process were written to <Bamboo-install>/logs/catalina.out. This meant that the Bamboo application logs were written to both  the catalina.out  and  the <Bamboo-install>/log/atlassian-bamboo.log  files, resulting in very  large catalina.out files. As of Bamboo 6.10  the default behaviour was changed to exclude the Bamboo application logs from the catalina.out

This document describes how to revert the change back to the previous behaviour and make Bamboo log application logs to <Bamboo-install>/logs/catalina.out again.

環境

Linux

ソリューション


The old behaviour of writing everything to the catalina.out  can be achieved by commenting out the line in the <Bamboo-install>/atlassian-bamboo/WEB-INF/classes/log4j.properties  file. As below.

#log4j.appender.console.threshold = OFF


After changing the file Bamboo would need to be restarted for the change to take effect.

(warning) Any new install of Bamboo, such as for an upgrade would reset the behaviour. If the old behaviour was needed then the change would need to be reapplied.


最終更新日 2022 年 8 月 25 日

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

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