You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2013/08/02 09:58:58 UTC

git commit: more details on logging implementation

Updated Branches:
  refs/heads/master 7cb432874 -> f63335c4e


more details on logging implementation

Project: http://git-wip-us.apache.org/repos/asf/maven/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/f63335c4
Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/f63335c4
Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/f63335c4

Branch: refs/heads/master
Commit: f63335c4e69eebfc1495e982f6995cefd4dd635b
Parents: 7cb4328
Author: Hervé Boutemy <hb...@apache.org>
Authored: Fri Aug 2 09:58:43 2013 +0200
Committer: Hervé Boutemy <hb...@apache.org>
Committed: Fri Aug 2 09:58:43 2013 +0200

----------------------------------------------------------------------
 maven-embedder/src/site/apt/logging.apt | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven/blob/f63335c4/maven-embedder/src/site/apt/logging.apt
----------------------------------------------------------------------
diff --git a/maven-embedder/src/site/apt/logging.apt b/maven-embedder/src/site/apt/logging.apt
index 0e84041..033c275 100644
--- a/maven-embedder/src/site/apt/logging.apt
+++ b/maven-embedder/src/site/apt/logging.apt
@@ -49,10 +49,16 @@ Maven Logging
 * Logging Implementation
 
  Maven 3.1.0 ships bundled with {{{http://www.slf4j.org/apidocs/org/slf4j/impl/SimpleLogger.html}SLF4J simple logger}},
- but is ready to use other logging implementations:
+ but is ready to use other logging implementations.
+
+ Logging configuration loading is actually done by logging implementation, without any Maven extensions to support merging
+ Maven installation configuration with per-user configuration for example:
+ `${maven.home}/conf/logging` directory was added to core's classpath (see `${maven.home}/bin/m2.conf`).
+
+ During Maven initialization, Maven tweaks default root logging level to match CLI verbosity choice. Since such feature isn't available
+ in SLF4J API, logging implementation specific extensions need to be added into Maven to support these CLI options: see
  {{{./apidocs/org/apache/maven/cli/logging/Slf4jConfigurationFactory.html}Slf4jConfigurationFactory}} /
- {{{./apidocs/org/apache/maven/cli/logging/Slf4jConfiguration.html}Slf4jConfiguration}} brings extensions to slf4j API
- necessary to Maven.
+ {{{./apidocs/org/apache/maven/cli/logging/Slf4jConfiguration.html}Slf4jConfiguration}}.
 
 * Getting Logger Instance