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

[Feature]: Add consumer for logging into file #8320

Open
JakubJablonski2-TomTom opened this issue Feb 15, 2024 · 0 comments
Open

[Feature]: Add consumer for logging into file #8320

JakubJablonski2-TomTom opened this issue Feb 15, 2024 · 0 comments

Comments

@JakubJablonski2-TomTom
Copy link

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

JakubJablonski2-TomTom added a commit to JakubJablonski2-TomTom/testcontainers-java that referenced this issue Feb 15, 2024
@JakubJablonski2-TomTom 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
Projects
None yet
Development

No branches or pull requests

1 participant