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

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published yesterday in Marketplace Apps

The 7 hacks of highly successful automation

...there's anything I've learnt from working, it's that people are lazy! No offense to anyone reading this, but it's true and we can all admit it. The easier you make something for someone, the more...

118 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