[ https://issues.apache.org/jira/browse/IGNITE-17442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavel Pereslegin updated IGNITE-17442: -------------------------------------- Attachment: (was: log4j2-test.xml) > Colorize Ignite test console output > ----------------------------------- > > Key: IGNITE-17442 > URL: https://issues.apache.org/jira/browse/IGNITE-17442 > Project: Ignite > Issue Type: Improvement > Reporter: Pavel Pereslegin > Assignee: Pavel Pereslegin > Priority: Major > Labels: test-framework > Attachments: IgniteDebugLayoutConverter.java, prod-propsal.png > > Time Spent: 10m > Remaining Estimate: 0h > > Recently completed Ignite migration to use log4j2. So we can use ["highlight" > conversion > pattern|https://logging.apache.org/log4j/2.x/manual/layouts.html#Patterns] to > colorize the output. > Initial proposal for production console output (pretty similar to spring > boot). > !prod-propsal.png|width=679,height=337! > Pattern for log4j 2.18+ > {code:xml} > <PatternLayout > pattern="%style{[%d{ISO8601}]}{#777777}%highlight{[%-5p]}{FATAL=red blink, > ERROR=red, WARN=yellow bold, INFO=green, DEBUG=green bold, > TRACE=blue}%style{[%t]}{magenta}%style{[%c{1}]}{cyan}%notEmpty{[%markerSimpleName]} > %m%n"/> > {code} > For the test framework, there is a suggestion - to color the output of each > node with its own color. Apparently this can't be done without adding your > own plugin, for example LogEventPatternConverter. -- This message was sent by Atlassian Jira (v8.20.10#820010)