Bamboo 5.1.1 writing build logs on remote agents
Asked by Andrew Morin:

Okay since upgrading to Bamboo 5.1.1 there is a logs directory in \<bamboo-home\>\\xml-data\\build-dir\\logs on the remote agents. I have 10 remote agents and have sufficient space to handle the plans assigned to the different clusters that I have them divided up in to. The logs directory mentioned above is filling up my drive space and I have searched everywhere I can think of to see where this is set with no luck. The remote agent wrapper.conf is set to its defaults. I have checked the tomcat settings on the server and the log settings in the admin console. I have searched all night through config files on the server and remote agents. The other issue is the log never finishes writing as I found out when trying to delete them. Somehow the process gets killed when the next build kicks off but when I compared the build log on the remote agent to the one on the Bamboo server it died right before the it wrote all the stuff you typically see at the bottom of the log file. So I went out to get an example on the remote agent and opened a file that is hung up in the JAVA Platform SE binary and if I hit F5 and it would start writing from memory. I wasn't able to save it there but I did somewhere else and attached. Note the time stamps at end of file. The ones on 10/26 at 4:45 AM were from the refreshing of the log while open. This started on 9/19/2013 the day after my upgrade and they were piling up, with log files from some projects exceeding 10MB and continuos integration on lots of parrellel development and 8-10 major projects this is killing me..help? I have also opened a support request but thought someone would see this and tell me how to fix...


Answers:
author: Przemek Bruski
body: It's a bug. It will most likely be fixed in 5.2.1 .


author: Andrew Morin
body: Yes Atlassian provided me a fix. They did this very quickly for me.


author: Andrew Morin
body: ![](../../upfiles/bamboo-RA-build-log.JPG)

Here is screenshot of file in use.


author: Andrew Morin
body: Here are the last few lines of the log file...

b11c-197805bc74e3.htm  
build 25-Oct-2013 00:55:35 C:\\bamboo\\xml-data\\build-dir\\MF3-MF3PN-JOB1\\_bin\\help\\html\\d7de5039-54ea-12df-a7ab-cbce60d5e582.htm  
build 25-Oct-2013 00:55:35 C:\\bamboo\\xml-data\\build-dir\\MF3-MF3PN-JOB1\\_bin\\help\\html\\d8ee3ceb-558b-0535-3492-12431ca80f94.htm  
build 25-Oct-2013 00:55:35 C:\\bamboo\\xml-data\\build-dir\\MF3-MF3PN-JOB1\\_bin\\help\\html\\da120c9f-565d-6e98-0985-cda014085bfb.htm  
build 25-Oct-2013 00:55:36 C:\\bamboo\\xml-data\\build-dir\\MF3-MF3PN-JOB1\\_bin\\help\\html\\da1e24c7-0794-7f7f-9df2-c82f432d4a68.htm  
build 25-Oct-2013 00:55:36 C:\\bamboo\\xml-data\\build-dir\\MF3-MF3PN-JOB1\\_bin\\help\\html\\dc2aaa4:45 AM 10/26/20134:45 AM 10/26/20134:45 AM 10/26/20134:45 AM 10/26/20134:45 AM 10/26/20134:45 AM 10/26/20134:45 AM 10/26/20134:45 AM 10/26/20134:45 AM 10/26/20134:45 AM 10/26/20134:45 AM 10/26/20134:45 AM 10/26/20134:45 AM 10/26/20134:45 AM 10/26/20134:45 AM 10/26/20134:45 AM 10/26/20134:45 AM 10/26/20134:45 AM 10/26/20134:45 AM 10/26/20134:45 AM 10/26/20134:45 AM 10/26/20134:45 AM 10/26/20134:45 AM 10/26/20134:45 AM 10/26/20134:45 AM 10/26/20134:45 AM 10/26/20134:45 AM 10/26/20134:45 AM 10/26/20134:45 AM 10/26/20134:45 AM 10/26/20134:45 AM 10/26/20134:45 AM 10/26/20134:45 AM 10/26/20134:45 AM 10/26/20134:45 AM 10/26/20134:45 AM 10/26/20134:45 AM 10/26/2013


Tags: bamboo-administration