Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.0.4
-
Fix Version/s: Issues to be reviewed for 3.x
-
Component/s: Logging
-
Labels:None
-
Complexity:Intermediate
-
Number of attachments :
Description
The current logging levels are essentially verbose (default) and debug (-X). We need a slightly less verbose output so that things like compiler warnings and other output is actually visable to the developer. Currently it gets buried in all the noise.
Issue Links
- is duplicated by
-
MNG-4935
Filter classloader information in debug output (or create a new debug switch)
-
- is related to
-
MNG-5397
Use SLF4J for logging
-
- relates to
-
MNG-113
logging levels
-
-
MNG-3463
AsbtractMojo should look for LoggerManager plexus component
-
-
MNG-4505
use slf4j to control various logging frameworks
-
-
MNG-5239
Maven integration developers would like to be able to override the maven logging appender.
-
What would it take to change the LoggerManager from ConsoleLoggerManager to for instance Log4JLoggerManager, and enable log4j configuration of Maven's logging?
This would enable different levels of logging for different components, and also different appenders.
Would it suffice to drop one of the plexus-logging jars in M2_HOME/lib ?
There is some information at http://plexus.codehaus.org/writing-components-trial/05_01_custom_logging_implementation.html, but I'm not sufficiently experienced with Maven's innards to determine what needs to be done..