Skip to content

Log rotation for ExApp Container #857

@Cloudboom

Description

@Cloudboom

Describe why it is important and where it will be useful

In our setup we had the issue that the log of the flow container kept growing and growing up to a 100 GB.
To prevent this is is needed to manually set log rotations for docker in the docker configuration.

Adding the log rotation automatically via the deploy would help to prevent this situation by default and would help users that are not aware of this.

Describe your proposed solution

It looks like the container creation API of docker might support setting the log rotation conf. (https://docs.docker.com/reference/api/engine/version/v1.54/#tag/Container/operation/ContainerCreate)

Not sure if this is the best solution.

Describe alternatives you've considered, if relevant

Seting up a global log rotation configuration.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions