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

Include TestContext in log message when starting a new transaction in TransactionalTestExecutionListener [SPR-11323] #15947

Closed
1 task done
spring-projects-issues opened this issue Jan 17, 2014 · 2 comments
Assignees
Labels
in: test Issues in the test module type: enhancement A general enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Jan 17, 2014

Sam Brannen opened SPR-11323 and commented

Status Quo

TransactionalTestExecutionListener.endTransaction() includes the TestContext in trace logging output; however, TransactionalTestExecutionListener.startNewTransaction() currently does not include it in its info logging output, thus making it more difficult to debug.

Deliverables

  1. Ensure that startNewTransaction() also includes the current TestContext in logging output.

Affects: 3.0 GA

Issue Links:

Referenced from: commits 6e30851

@spring-projects-issues
Copy link
Collaborator Author

spring-projects-issues commented Jan 17, 2014

Sam Brannen commented

Resolving this issue will make it easier to analyze issues such as those described in #10800.

@spring-projects-issues
Copy link
Collaborator Author

Sam Brannen commented

Completed as described in the comments for GitHub commit 6e30851:

*Improve logging in TransactionalTEL*

This commit makes the logging in TransactionalTestExecutionListener
consistent for both starting and ending transactions. Specifically,
the current TestContext is now included in the informational log
statement when starting a new transaction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: test Issues in the test module type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants