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
[Feature]: Add consumer for logging into file #8320
Labels
Comments
JakubJablonski2-TomTom
added a commit
to JakubJablonski2-TomTom/testcontainers-java
that referenced
this issue
Feb 15, 2024
JakubJablonski2-TomTom
changed the title
[Feature]:
[Feature]: Add consumer for logging into file
Apr 3, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Module
Core
Problem
Debugging multiple test containers running in parallel is hard due to interleaved logs.
Solution
Allow to configure each container to log to a separate file.
In addition to ToStringConsumer, add a ToFileConsumer which forwards all the logs to a file.
Benefit
Extended flexibility and user friendliness
Alternatives
Document in for clients how to implement their own LogConsumer doing the same thing.
Would you like to help contributing this feature?
Yes
The text was updated successfully, but these errors were encountered: