How to disable bamboo-stdout and bamboo-stderr logging on Windows
When Bamboo is run as a Windows Service, Tomcat creates additional bamboo-stdout and bamboo-stderr log files under <BAMBOO_INST>/logs. These logs are in addition to Bamboo's own log files and are not necessary, and in some cases you may wish to disable them to save on disk space.
- Identify the name of the service that Bamboo is installed as in Windows (Control Panel > Administrative Tools > Services):
- Open a command prompt from Start > Run > type 'cmd' > Enter.
Change directory to the
bindirectory of your Bamboo installation directory.
Run the following commands which will differ depending on your version of Bamboo.
tomcat8wfor Bamboo 5.10 and above:
tomcat7w //ES//%SERVICENAME% tomcat8w //ES//%SERVICENAME%
In the above example, it would be
- Click on the
Loggingtab to see the current logging configuration:
Redirect Stderror, remove the value "auto" so the fields are left empty.
- Click Apply and OK to save your changes
After these settings changes have been made, restart Bamboo and the Tomcat container will no longer log further output to bamboo-stdout or bamboo-stderr. Any pre-existing logs will remain and can safely be removed.