Skip to content

Conversation

nosan
Copy link
Contributor

@nosan nosan commented Feb 23, 2025

See gh-43460

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Feb 23, 2025
@nosan nosan changed the title Add logging for Docker API version retrieval failures Improve logging in DockerApi Feb 23, 2025
@nosan
Copy link
Contributor Author

nosan commented Feb 23, 2025

I initially considered using BuildLog in DockerApi, but it is not possible due to

Rule 'slices matching '(**)' should be free of cycles' was violated (1 times):
Cycle detected: Slice org.springframework.boot.buildpack.platform.build ->
Slice org.springframework.boot.buildpack.platform.docker ->
Slice org.springframework.boot.buildpack.platform.build

This commit introduces a new constructor in `DockerApi`
that accepts `DockerLogger` as a parameter.

The `DockerLogger` is a pretty simple callback interface used to
provide DockerApi output logging.

See spring-projectsgh-43460

Signed-off-by: Dmytro Nosan <[email protected]>
@mhalbritter mhalbritter self-assigned this Feb 25, 2025
@mhalbritter mhalbritter added type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels Feb 25, 2025
@mhalbritter mhalbritter added this to the 3.5.x milestone Feb 25, 2025
mhalbritter pushed a commit that referenced this pull request Feb 25, 2025
This commit introduces a new constructor in `DockerApi`
that accepts `DockerLogger` as a parameter.

The `DockerLogger` is a pretty simple callback interface used to
provide DockerApi output logging.

See gh-44412

Signed-off-by: Dmytro Nosan <[email protected]>
mhalbritter added a commit that referenced this pull request Feb 25, 2025
@mhalbritter mhalbritter modified the milestones: 3.5.x, 3.5.0-M3 Feb 25, 2025
@mhalbritter
Copy link
Contributor

Thanks @nosan !

@nosan
Copy link
Contributor Author

nosan commented Feb 25, 2025

Thanks @mhalbritter

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

Successfully merging this pull request may close these issues.

3 participants