Skip to content

Instantly share code, notes, and snippets.

@sixcorners
Created March 21, 2017 17:42
Show Gist options
  • Save sixcorners/82200bf723c9fd8fbc3bf7f161187edb to your computer and use it in GitHub Desktop.
Save sixcorners/82200bf723c9fd8fbc3bf7f161187edb to your computer and use it in GitHub Desktop.
span id missing from default logged exception
2017-03-21 12:40:24.884 INFO [sleuthSample,ff11f02ae9cf3238,ff11f02ae9cf3238,false] 37222 --- [nio-8080-exec-1] demo.HomeController : Home
2017-03-21 12:40:24.924 INFO [sleuthSample,ff11f02ae9cf3238,0338696b37ad024a,false] 37222 --- [nio-8080-exec-2] demo.HiController : Hi
2017-03-21 12:40:34.729 INFO [sleuthSample,0f99f4e2cd4bbc78,0f99f4e2cd4bbc78,false] 37222 --- [nio-8080-exec-5] demo.HomeController : ex
2017-03-21 12:40:34.737 ERROR [sleuthSample,,,] 37222 --- [nio-8080-exec-5] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.RuntimeException] with root cause
java.lang.RuntimeException: null
at demo.HomeController.ex(TraceApplication.java:46) ~[classes!/:Dalston.BUILD-SNAPSHOT]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_121]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment