This is an automated email from the ASF dual-hosted git repository.
paulk pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/groovy-website.git
The following commit(s) were added to refs/heads/asf-site by this push:
new e9f9e66 minor changes
e9f9e66 is described below
commit e9f9e669a1a572d2353abdbc6219381fc955c795
Author: Paul King <[email protected]>
AuthorDate: Tue Mar 31 15:46:25 2026 +1000
minor changes
---
site/src/site/releasenotes/groovy-6.0.adoc | 25 +++++++++++++++++++++++++
site/src/site/sitemap-user.groovy | 1 +
2 files changed, 26 insertions(+)
diff --git a/site/src/site/releasenotes/groovy-6.0.adoc
b/site/src/site/releasenotes/groovy-6.0.adoc
index f5bb519..c9bd910 100644
--- a/site/src/site/releasenotes/groovy-6.0.adoc
+++ b/site/src/site/releasenotes/groovy-6.0.adoc
@@ -371,6 +371,31 @@ By default, messages still appear on the console via
`java.util.logging`,
but users can plug in any logging framework (SLF4J, Log4j2, etc.)
by providing a `System.LoggerFinder` implementation on the classpath.
+=== Configuring logging
+
+Groovy's command-line tools resolve logging configuration
+in the following order (first match wins):
+
+1. A file specified via `-Djava.util.logging.config.file=...`
+2. A user configuration at `~/.groovy/logging.properties`
+ (auto-discovered by Groovy at startup)
+3. The JDK default at `$JAVA_HOME/conf/logging.properties`
+
+For example, to enable verbose Grape logging, create
+`~/.groovy/logging.properties` with:
+
+[source,properties]
+----
+handlers = java.util.logging.ConsoleHandler
+java.util.logging.ConsoleHandler.level = ALL
+groovy.grape.Grape.level = FINE
+----
+
+Loggers are organized by module (Core, Grape, Ant, Console, GroovyDoc,
+JSON, Servlet, Swing, Testing) -- see the
+https://groovy-lang.org/logging.html[logging guide]
+for the full list of logger names and their levels.
+
[[Groovy6.0-breaking]]
== Breaking changes
diff --git a/site/src/site/sitemap-user.groovy
b/site/src/site/sitemap-user.groovy
index b379a5d..afb601f 100644
--- a/site/src/site/sitemap-user.groovy
+++ b/site/src/site/sitemap-user.groovy
@@ -124,6 +124,7 @@ documentation {
}
section ('Tools','fa-gears') {
+ item 'groovy - the Groovy command-line', 'groovy',
'tools-groovy'
item 'groovyc - the Groovy compiler', 'groovyc',
'tools-groovyc'
item 'groovydoc - the Groovy documentation generator',
'groovydoc', 'groovydoc'
item 'groovysh - the Groovy repl-like shell', 'groovysh',
'groovysh'