aws / aws-xray-java-agent

The official AWS X-Ray Auto Instrumentation Agent for Java.
Apache License 2.0
42 stars 18 forks source link

Listener should log stacktrace instead of just events during errors #25

Closed chanchiem closed 4 years ago

chanchiem commented 4 years ago

The XRayListener has a catchall that logs the error of the event. We should make it print out the stack trace as well in order for us to get more informative logging information rather than just the event which is associated with the error

https://github.com/aws/aws-xray-java-agent/blob/master/aws-xray-auto-instrumentation-agent-runtime/src/main/java/com/amazonaws/xray/agent/listeners/XRayListener.java#L50

willarmiros commented 4 years ago

Resolved in #32 with the addition of Apache logger.