-
Type:
Suggestion
-
Resolution: Unresolved
-
Component/s: Pipelines - Runners
-
None
-
1
Issue Summary
There are several use cases / scenarios under which a user may want to configure the log output for the Bitbucket PIpelines runner. Under the hood, the runner uses logback, and users may want to change the behaviour of the logger for uses cases such as:
- logging as json to allow ingestion of logs into 3rd party tools
- increasing log levels to debug various issues e.g enabling "wire" logs for http traffic to self help, or as instructed by the support team to help with support cases.
Workaround
To configure logging today requires overriding the logback config file. For the shell, macos and windows runner, users can make the necessary changes to the logback file and build a new .jar, or provide a system property to the JVM to override the logger config. For the docker runner, the same steps can be folllowed, however users would need to then build their own Docker image with these changes.