Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.0.2, 1.1-beta-1, 1.1-beta-2
-
Fix Version/s: 1.1-beta-3
-
Component/s: core
-
Labels:None
-
Number of attachments :
Description
Actually we have only three levels of logs for maven and its plugins :
- debug (-X option)
- normal
- quiet (-Q option)
We can't use a fine grain configuration for the logging.
For example, put in debug only the logger "org.apache.maven.linkcheck"
log4j.org.apache.maven.linkcheck=DEBUG
I propose that we add the code to allow to define log4j properties (http://logging.apache.org/log4j/docs/api/org/apache/log4j/PropertyConfigurator.html) to setup logging.
These settings can be defined in any level where our properties are read (System properties, User properties, Project properties).
Done.
You can setup the logging with properties in the command line (as system properties) or in a properties file (in the project or the user home).