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

Log collection from containers #119

Open
see-quick opened this issue Nov 27, 2024 · 1 comment
Open

Log collection from containers #119

see-quick opened this issue Nov 27, 2024 · 1 comment
Assignees
Milestone

Comments

@see-quick
Copy link
Member

We should implement collecting logs from the containers. Thanks to test containers, there is already a method for gathering all logs from a specific container, getLogs(), and thus implementing this should be fairly easy.

It would help with debugging a lot (i.e., instead of manually checking each container, one can have logs at the end of the test).

Each container should expose: the isCollectLogsEnable and logFilePath instance variables.

For instance

new StrimziKafkaContainer()
            .withLogCollection()
            // If not specified then the default is used
            .withLogFilePath()
@ppatierno
Copy link
Member

Triaged on 12/12/2024: there is already a PR opened for this, so it makes sense to have.

@see-quick see-quick self-assigned this Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants