Where is the documentation for editing bamboo-agent.cfg.xml?

It's mentioned in the Bamboo documentation, but it is never described, explained, or linked to full documentation.

What are the keywords? What are their possible values?

1 answer

1 accepted

Accepted Answer
1 vote

I don't think there's a centralised source of information on bamboo-agent.cfg.xml . Instead, the minimum, default configuration is considered to be good in most cases and variables are documented on pages addressing a concrete problem requiring user intervention (like moving a home directory).

Are you aware of any specific doc pages that describe what the field names/variables are for telling the agent to run a particular log4j.properties? Because adding -Dlog4j.configuration=/path/to/mylog4j.properties is not working (in OSX). And I'm not sure where in the field hierarchy to try something like

<log4j.configuration>/path/to/mylog4j.properties</log4j.configuration>

This is just one example, but its the most pressing need I have right now.

-Dlog4j.configuration should work, but I think you need to add it to the parameter of the actual agent process and not the installer jar. Depending on how you start the agent, this could for example mean adding

wrapper.java.additional.3=-Dlog4j.configuration=path

to bamboo-agent-home/conf/wrapper.conf

Edit: come to think of it, I am not sure if you can override the path using bamboo-agent.cfg.xml.

You can also modify the webapp/WEB-INF/classes/log4j.properties in Bamboo install on the server - if I remember correctly, its contents will be propagated to remote agents upon agent startup. Just remember to keep it updated during Bamboo upgrades.

Modifying the wrapper.conf file did the trick. In the process tree I can see that the agent was launched with that option. Well done and thanks.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Monday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

500 views 0 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you