It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

Deleted user Dec 20, 2011

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

1 vote
Answer accepted

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).

Deleted user Dec 20, 2011

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.

Deleted user Dec 21, 2011

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 in Bamboo

Unable to add or edit Bitbucket Cloud repository in Bamboo

On 31 May, a GDPR-related change went live in the Bitbucket Cloud API that resulted in users not being able to create or edit Bitbucket Cloud Linked repositories in Bamboo. This API update removed t...

445 views 2 6
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you