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.