GitHub user jdillon opened a pull request:

    https://github.com/apache/maven/pull/81

    Hook up gossip as slf4j backend and implement customized color renderer

    Replaces slf4j-simple with gossip-slf4j ( https://github.com/jdillon/gossip 
) and adds support for colorized output.
    
    
![maven-color](https://cloud.githubusercontent.com/assets/20114/15301594/53c3be3c-1b63-11e6-90e6-e44a4d7e1f2f.png)
    
    To enable colorized output:
    
    ```
    MAVEN_OPTS="-Dmaven.logging=color" bin/mvn
    ```
    
    or set in ~/.mavenrc
    
    Presently has to be passed in via MAVEN_OPTS as there is no context to 
access the -D flags early enough to configure the backend w/o more changes to 
the Slf4jConfiguration api.
    
    Default is presently plain, so users need to elect to use color explicitly 
as described above.
    
    Colorization is a subset of the color handling available in mvnsh, as this 
can only colorize log events, so anything going directly to output streams 
(like bits from surefire, etc) can not be colorized by this mechanism.
    
    Left the assembly conf/logging/* bits alone, as its not clear if other 
configurations are expecting this directory to exist or not, but likely should 
be cleaned up.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jdillon/maven gossip-slf4j-backend

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/maven/pull/81.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #81
    
----
commit bedba47f7ac1275502ae0ab1ec9e2c291921674f
Author: Jason Dillon <ja...@planet57.com>
Date:   2016-05-16T19:34:21Z

    Hook up gossip as slf4j backend and implement customized color renderer

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to