Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CustomizableTraceInterceptor exception logging does not calculate invocationTime correctly. [SPR-2463] #7152

Closed
spring-issuemaster opened this issue Aug 23, 2006 · 1 comment
Milestone

Comments

@spring-issuemaster
Copy link
Collaborator

@spring-issuemaster spring-issuemaster commented Aug 23, 2006

Claus Nielsen opened SPR-2463 and commented

In CustomizableTraceInterceptor.invokeUnderTrace(...) exceptions are logged like this:

writeToLog(logger, replacePlaceholders(this.exceptionMessage, invocation, null, ex, stopWatch.getTotalTimeMillis()), ex);

However stopWatch.getTotalTimeMillis() always returns zero because stopWatch.stop() isn't called first.


Affects: 2.0 RC3

@spring-issuemaster

This comment has been minimized.

Copy link
Collaborator Author

@spring-issuemaster spring-issuemaster commented Aug 23, 2006

Rick Evans commented

Indeed. Thanks for spotting this (I addressed just CustomizableTraceInterceptor).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.