How to disable queue branch detection info messages
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
Summary
Recent versions of Bamboo added an info log message to constantly report the state of the branch detection queue. Messages like:
1
2
3
2018-09-04 17:14:39,165 INFO [scheduler_Worker-1] [ItemDetections] Queued branch detections: 1116, detections in progress: 3 plan PROJ-PLAN1 queued for detection: true
2018-09-04 17:14:39,165 INFO [scheduler_Worker-1] [ItemDetections] Queued branch detections: 1117, detections in progress: 3 plan PROJ-PLAN2 queued for detection: true
2018-09-04 17:14:39,165 INFO [scheduler_Worker-1] [ItemDetections] Queued branch detections: 1118, detections in progress: 3 plan PROJ-PLAN3 queued for detection: true
Depending on the number of plans being detected and the interval configured these messages might flood the server logs.
This article explains how these messages can be disabled.
Solution
For Bamboo versions prior 9
Stop the Bamboo server instance
Edit the <Bamboo_Install>/atlassian-bamboo/WEB-INF/classes/log4j.properties
Add the following line into it:
1
log4j.category.com.atlassian.bamboo.plan.ItemDetections=ERROR
Start the Bamboo instance
For Bamboo version 9 and above
Stop the Bamboo server instance
Edit the <Bamboo_Install>/atlassian-bamboo/WEB-INF/classes/log4j2.properties
Add the following line into it:
1 2
logger.bamboo-item.level=ERROR logger.bamboo-item.name=com.atlassian.bamboo.plan.ItemDetections
Was this helpful?