Reputation: 43
Can someone please help me? I want to integrate Spring Sleuth with my Spring Boot microservices. I added spring-cloud-starter-sleuth
dependency. Also tried by added SLF4J along with it. But it is print normal logs. Not printing in Sleuth style like app name, span id ,traceid etc. I am not sure if it is recognizing dependency? Do I need to add any other dependency? Any properties file?
Could you please guide with exact dependency? and exact steps to configure?
Upvotes: 0
Views: 1465
Reputation: 11189
In terms of logging, we support slf4j
out of the box. You have to implement your own SpanLogger interface
to add the logging support for log4j
Upvotes: 1