Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

using log4j 2 in bamboo plugin


We have bamboo plugin which uses 3-rd party dependency (also developed by us) that uses log4j 2 .


As well, in the plugin we also created  logger based on log4j 2 : LogManager.getLogger(type); In that case log from plugin and from 3-rd party dependency is written to the same place. 

Until bamboo 6.9 - everything work perfectly.

In 6.10 something changed and log initialization is failing


Causes are : 

Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.bamboo.listener.GeneralEventsListener]: Constructor threw exception; nested exception is java.util.ServiceConfigurationError: org.apache.logging.log4j.spi.Provider: Provider org.apache.logging.slf4j.SLF4JProvider not a subtype
at org.springframework.beans.BeanUtils.instantiateClass(
... 129 more
Caused by: java.util.ServiceConfigurationError: org.apache.logging.log4j.spi.Provider: Provider org.apache.logging.slf4j.SLF4JProvider not a subtype
at java.util.ServiceLoader.access$300(
at java.util.ServiceLoader$LazyIterator.nextService(
at java.util.ServiceLoader$
at java.util.ServiceLoader$
at org.apache.logging.log4j.util.ProviderUtil.loadProviders(
at org.apache.logging.log4j.util.ProviderUtil.<init>(
at org.apache.logging.log4j.util.ProviderUtil.lazyInit(
at org.apache.logging.log4j.util.ProviderUtil.hasProviders(
at org.apache.logging.log4j.LogManager.<clinit>(
at com.bamboo.SDKBasedLoggerProvider.getLogger(
at com.bamboo.listener.BaseListener.<init>(
at com.bamboo.listener.GeneralEventsListener.<init>(
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
at java.lang.reflect.Constructor.newInstance(
at org.springframework.beans.BeanUtils.instantiateClass(
... 131 more


Please help.

1 answer

0 votes

Hi @Octane CI Plugins Owner

Thank you for reaching out to us to move forward on this one. In order to set you for success, I suggest you ask the same question on a different channel, more aligned to this content. This is the one:

It is more likely that your question will be read by people Bamboo developement skills, including our developers.


thanks for referring.

Like Daniel Santos likes this

Suggest an answer

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

Bamboo 101 Video

G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...

223 views 4 6
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