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

[#2839] improvment(CI): add log of testcontainers #2843

Merged
merged 1 commit into from
Apr 9, 2024

Conversation

mchades
Copy link
Contributor

@mchades mchades commented Apr 8, 2024

What changes were proposed in this pull request?

Separate TestContainers logs into a different log file.

Why are the changes needed?

Fix: #2839

Does this PR introduce any user-facing change?

no

How was this patch tested?

by hand

appender.testcontainersFile.layout.type = PatternLayout
appender.testcontainersFile.layout.pattern = %d{yyyy-MM-dd HH:mm:ss.SSS} [%t] %-5p %c - %m%n

# Logger for testcontainers
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jerryshao
Copy link
Contributor

Will it have many logs?

@mchades mchades added the upload log Always upload container log label Apr 8, 2024
@mchades
Copy link
Contributor Author

mchades commented Apr 9, 2024

Will it have many logs?

I uploaded the log file, you can download it and take a look. I think it is fine, or I can turn the log level to info

@jerryshao
Copy link
Contributor

@yuqi1129 can you please take a review, I'm fine with it.

Copy link
Contributor

@yuqi1129 yuqi1129 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yuqi1129 yuqi1129 merged commit 21b8adf into apache:main Apr 9, 2024
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upload log Always upload container log
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Subtask] seprate out log of testcontainers
3 participants