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

Using the com.atlassian.bamboo.specs.util.Logger logger, doesn't show logs in build log

Rogier_H
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 28, 2022

I'm using the Bamboo java specs to run Jobs and ScriptTaks using the @BambooSpec class.


I found that bamboo provides it's own logger from here: https://docs.atlassian.com/bamboo-specs/6.3.1/com/atlassian/bamboo/specs/util/Logger.html.

 

I tried implementing this logger. In one of the classes that returns a Job with a number of scripttasks.

But my logs are not showing up in the bamboo build logs.

What am I doing wrong?

 

I'm using it like this:

import com.atlassian.bamboo.specs.util.Logger;

(in class): private static final Logger log = Logger.getLogger(DockerJobManager.class);

(the call): log.info("This is a warning!!!");

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events