Skip to content

Allow setting DEBUG log level on containers #191

@lbroudoux

Description

@lbroudoux

Reason/Context

See microcks/microcks-testcontainers-java#260

As of today, we don't have an easy way to set the DEBUG log level on containers, which makes things difficult to diagnose in case of an issue or unexpected behavior.

But since microcks/microcks#1867 we now have an easy way to change the log levels.

Description

The goal of this feature is to allow users to set up more verbose log levels, enabling them to gain deeper insights into what's going wrong when retrieving the containers' logs by piping their output to specific consumers.

Implementation ideas

We can add either a WithDebugLogLevel() on the MicrocksContainer class. Calling this method before startup will allow to set the correct environment variables. We also need the same things on MicrocksContainerEnsemble for both the microcks and the microcks-async-minion containers.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions