Open dominics opened 5 years ago
I've run into this issue too -- is there a config. setting or other workaround to prevent this?
FYI I worked around it by not installing kamon-bundle, which automatically includes logback as well as a bunch of other instrumentations. Instead I install only the kamon-* packages I need.
One workaround would have been to disable the logback module if you're not using it:
kanela.modules.logback.enabled = false
.
You can also add the within block, so Kamon knows where to look for the PlayAccessEvent
:
kanela.modules.logback.within = ["org.databrary.logback..*"]
Not sure how popular cardamo/play-logback-access is, or how popular a package should be to be added to the default within
It doesn't seem to be too popular, so we'll refrain from adding it for now, if some more people come across the same error, we'll add it to the configuration
play-logback-access project
It'd be good to add
org.databrary.logback..*
to the instrumentationwithin
, to prevent errors such as:Not sure how popular cardamo/play-logback-access is, or how popular a package should be to be added to the default
within