You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by GitBox <gi...@apache.org> on 2023/01/09 20:11:37 UTC

[GitHub] [logging-chainsaw] WesternGun opened a new issue, #17: Suggestion: add container log support, as well as ANSI color removal

WesternGun opened a new issue, #17:
URL: https://github.com/apache/logging-chainsaw/issues/17

   Oftentimes currently, the logs come from docker containers or docker compose. In that case, it will be like:
   
           app_1                        | 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. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@logging.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Suggestion: add container log support, as well as ANSI color removal [logging-chainsaw]

Posted by "grobmeier (via GitHub)" <gi...@apache.org>.
grobmeier commented on issue #17:
URL: https://github.com/apache/logging-chainsaw/issues/17#issuecomment-1863575810

   Hi, @WesternGun, this sounds like a very good idea.
   I am trying to get familiar with Chainsaw, and you could help me reproduce the issue. Can you create a demo container or Java classes that make exactly that log output?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@logging.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org