Build expiry removes all logs
Symptoms
Cause
Value of maxIgnoredLogSize is set to -1
Resolution
Edit <BAMBOO_HOME>/xml-data/configuration/administration.xml and put the maximum size of log file which should be ignored during expiry in bytes. Restart Bamboo to apply changes
<AdministrationConfiguration>
...
<myBuildExpiryConfiguration>
<maxIgnoredLogSize>-1</maxIgnoredLogSize>