How can I colorize the console output with log4j?

Is it possible to use different colors in the Build Log of TeamCity?

The background to this question is, that we have different apps logging to the Build Log:

  • Maven
  • Tomcat
  • JBoss
  • Selenium
  • etc.


As you can imagine, it is very hard to distinguish the different logs. A colorized output would be very helpful.

4 comments
Comment actions Permalink

Hi Timo

Colors in a build log are intended to hightlight problems.
You can control this status using service messages.

Tree view of build log allows to group related messages into blocks, and collapse/expand them.

Michael

0
Comment actions Permalink

Hi Michael,

great news! Thank you. I think grouping the messages are even better.

0
Comment actions Permalink

Hello, Timo,

There is also a related issue about build log messages coloring http://youtrack.jetbrains.net/issue/TW-5724.
Feel free to vote!

0
Comment actions Permalink

Hi Victory, thank you. I voted for the ticket.

0

Please sign in to leave a comment.