Troubleshooting Empty `traceId` and `spanId` in Logs | Generated by AI

Home 2025.08

The traceId and spanId are empty in your log lines [blog-server,,] likely due to one of the following reasons:

To troubleshoot, first verify your dependencies and logging configuration. If those are correct, ensure that requests are actually hitting your application and being processed by the Spring MVC DispatcherServlet, which should trigger Sleuth’s instrumentation.


Back Donate