Skip to content
This repository was archived by the owner on May 19, 2026. It is now read-only.
This repository was archived by the owner on May 19, 2026. It is now read-only.

Suggestion: add container log support, as well as ANSI color removal #17

Description

@WesternGun

Oftentimes currently, the logs come from docker containers or docker compose, with ANSI color chars(cyan in my example):

�[36mapp_1                        |�[0m 2023-01-09 19:59:02,911 DEBUG [org.apa.cam.pro.FilterProcessor]-{Camel (camel-1) thread #20 - Split}-Filter matches: true for exchange: Exchange[1B8CEEBBF0626A1-0000000000000007]

In that case, log4j patterns will not match, because it cannot understand ANSI color control chars, neither the app_1 | before each line. They mark the service name in docker-compose.yaml file.

It would be good to parse them, so that I don't have to find/replace them each time.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions