Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bitbucket pipeline logs are not readable, How can we fix the logs?

Hi Team,

There is the problem in pipeline logs, it is mixing up unknown variables so please fix this because when it fails very difficult to understand the problem. You can see the below snapshot image.



Ranjit Sharma

3 answers

1 accepted

1 vote
Answer accepted


It's not related to _PROD variable but content of variable.

Let's say you have variable AWS_ACCESS_KEY_ID_PROD with secret value "a", pipeline will try to replace every letter "a" in output because you have declared it as secret variable.

@Ranjit Sharma  yeap, now I can see this.

You can submit a bugfix request to  open bitbucket pipelines jira or try to find suitable request here .

I know what it can be - perhaps when your variable match with some pattern in logs, it can be substituted. I saw it a couple of times.

For new request please, put exact steps to reproduce the issue.

0 votes

@Ranjit Sharma  thanks for the question.

Please, specify what unknown variables do you mean that are mixing up?

In pipelines infra when running a pipe, it is logged how the container is run. It may help to discover the problem and to see quickly what global variables are passed.


Also, you can see the trace of your pipe failing just after the container running.

Regards, Galyna

Hi Galyna,

Thanks for replying, you can see the logs what I attached. I mean to say logs are not correct i.e it is replacing letter 's' with PROD_VARIABLE event though we are not using it in staging environment deployment.

When I removed PROD related environment variables then logs were fine.

Is there any problem with PROD word specified in pipeline environment variable names ?


Thanks & Regards,

Ranjit Sharma

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

226 views 2 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you