Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,556,693
Community Members
 
Community Events
184
Community Groups

Log lines are deliberately coloured

Build logs are coloured (in read chunks, not line-by-line):

build	16-Aug-2021 13:30:01	SLF4J: Class path contains multiple SLF4J bindings.
build	16-Aug-2021 13:30:01	SLF4J: Found binding in [jar:file:/home/java/.cache/coursier/v1/https/repo1.maven.org/maven2/org/slf4j/slf4j-simple/1.7.21/slf4j-simple-1.7.21.jar!/org/slf4j/impl/StaticLoggerBinder.class]
build	16-Aug-2021 13:30:01	SLF4J: Found binding in [jar:file:/home/java/.cache/coursier/v1/https/repo1.maven.org/maven2/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
build	16-Aug-2021 13:30:01	SLF4J: Found binding in [jar:file:/home/java/.cache/coursier/v1/https/repo1.maven.org/maven2/org/slf4j/slf4j-log4j12/1.7.10/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
build	16-Aug-2021 13:30:01	SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
build	16-Aug-2021 13:30:01	SLF4J: Actual binding is of type [org.slf4j.impl.SimpleLoggerFactory]

The question: how to remove `[0m` colouring codes and keep logs plain-text?

2 answers

2 accepted

1 vote
Answer accepted

Looks like the cause of the coloured blocks is docker (in Docker task) which colours stderr with red when not using buildkit.

I ended up enabling the later (via env var `DOCKER_BUILDKIT=1`), which ended up Bamboo treating the whole output of the Dockerfile RUN commands as _errors_... but that didn't mess the plaintext logs.

0 votes
Answer accepted
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Aug 16, 2021

This is something your build process is putting into the logs, not Bamboo (unless you've modified Bamboos settings to make it do this)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events