Skip to content

[Enhancement]: change log level in case of errors (compose) #10175

Open
@yhgillet

Description

@yhgillet

Module

Core

Proposal

Hello

this is an output from our tests that use a docker-compose (local) instance, it seems the logs in error (here from daemon) are in INFO level (output from maven failsafe plugin), it wouldd be better to be ERROR instead so it doesnt get filtered ?

17:18:17.246 [ForkJoinPool-1-worker-1] INFO tc.docker -- Local Docker Compose is running command: compose up -d
17:18:17.329 [Thread-2] INFO tc.docker --  Network e2e-wyuda1_pbc-network  Creating
17:18:17.589 [Thread-2] INFO tc.docker --  Network e2e-wyuda1_pbc-network  Created
...
...
17:18:41.055 [Thread-2] INFO tc.docker --  Container e2e-wyuda1-a-service-1  Starting
17:18:42.469 [Thread-2] INFO tc.docker -- Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: unable to apply cgroup configuration: cannot enter cgroupv2 "/sys/fs/cgroup/docker" with domain controllers -- it is in threaded mode: unknown

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions