Console output pattern should be customizable
---------------------------------------------
Key: MNG-4859
URL: http://jira.codehaus.org/browse/MNG-4859
Project: Maven 2 & 3
Issue Type: Improvement
Components: Logging
Affects Versions: 3.0, 2.2.1
Reporter: Gábor Lipták
http://stackoverflow.com/questions/3890746/maven-output-with-displaying-plugingoalproject-for-each-line-as-prefix/3895261#3895261
The main idea is, that a lot of plugins produce many console lines. If I look
for some problem, it is boring and hard to scroll back top see that which built
project, which plugin, which execution is wrong. It would be real good to have
some possibility to customize console output like PatternLayout in log4j. The
following improvements I suggest:
- leave the possibility to customize severity. For example instead of [INFO]
[I] would be sufficient.
- if console log pattern could be defined, colorizing log would be enabled
http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/PatternLayout.html
- If you would define thread locals with a map containing project name, id,
coordinate, running plugin coordinate, execution id, then it would be possible
to ensure, that no scrolling is needed to see plugin and project. Providing
aliases could be also enabled. So a console line would look like this:
2010.01.11 12:33 mygroup:myartifact dependency:resolve[execid] [i] Dependency
could not be resolved.
What do you think? Would not it be good?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira