slachiewicz commented on code in PR #732:
URL: 
https://github.com/apache/maven-doxia-sitetools/pull/732#discussion_r4526833528


##########
doxia-integration-tools/src/main/java/org/apache/maven/doxia/tools/DefaultSiteTool.java:
##########
@@ -921,13 +918,13 @@ private File resolveSiteDescriptor(
                 return siteDescriptor;
             }
             LOGGER.debug("No site descriptor found for '" + project.getId() + 
"' for locale '" + language
-                    + "', trying without language (default locale)...");
+                    + "', trying without locale...");

Review Comment:
   Done in 23e6e90 — agreed, "without explicit locale" is more accurate, there 
is always a locale.



##########
doxia-integration-tools/src/main/java/org/apache/maven/doxia/tools/DefaultSiteTool.java:
##########
@@ -135,6 +135,15 @@ public class DefaultSiteTool implements SiteTool {
     @Inject
     protected SiteModelInheritanceAssembler assembler;
 
+    /** Creates the tool and logs the default locale it works with. */
+    public DefaultSiteTool() {
+        LOGGER.debug(
+                "Default locale: {} (system property {}={})",
+                SiteTool.DEFAULT_LOCALE.toString().isEmpty() ? "root" : 
SiteTool.DEFAULT_LOCALE,

Review Comment:
   Done in 23e6e90 — the log shows ROOT now, less confusable with a "real" 
locale.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to