mirror of
https://github.com/apache/maven-mvnd.git
synced 2025-10-14 06:07:33 +00:00
Fix JUL logging (#792)
This commit is contained in:
1
dist/src/main/distro/bin/mvnd-client.conf
vendored
1
dist/src/main/distro/bin/mvnd-client.conf
vendored
@@ -19,6 +19,7 @@ main is org.mvndaemon.mvnd.client.DefaultClient from plexus.core
|
||||
set maven.home default ${mvnd.home}/mvn
|
||||
set maven.conf default ${maven.home}/conf
|
||||
|
||||
set java.util.logging.config.file default ${maven.conf}/logging/java.util.logging.properties
|
||||
set logback.configurationFile default ${maven.conf}/logging/logback-client.xml
|
||||
set logback.configurationFile.fallback default ${maven.conf}/logging/logback.xml
|
||||
|
||||
|
@@ -19,7 +19,8 @@ main is org.mvndaemon.mvnd.daemon.Server from plexus.core
|
||||
set maven.home default ${mvnd.home}/mvn
|
||||
set maven.conf default ${maven.home}/conf
|
||||
|
||||
set logback.configurationFile default ${maven.conf}/logging/logback-server.xml
|
||||
set java.util.logging.config.file default ${maven.conf}/logging/java.util.logging.properties
|
||||
set logback.configurationFile default ${maven.conf}/logging/logback-daemon.xml
|
||||
set logback.configurationFile.fallback default ${maven.conf}/logging/logback.xml
|
||||
|
||||
[plexus.core]
|
1
dist/src/main/distro/mvn/bin/mvn.conf
vendored
1
dist/src/main/distro/mvn/bin/mvn.conf
vendored
@@ -18,6 +18,7 @@ main is org.apache.maven.cli.MavenCli from plexus.core
|
||||
|
||||
set maven.conf default ${maven.home}/conf
|
||||
|
||||
set java.util.logging.config.file default ${maven.conf}/logging/java.util.logging.properties
|
||||
set logback.configurationFile default ${maven.conf}/logging/logback-mvn.xml
|
||||
set logback.configurationFile.fallback default ${maven.conf}/logging/logback.xml
|
||||
|
||||
|
16
dist/src/main/distro/mvn/conf/logging/java.util.logging.properties
vendored
Normal file
16
dist/src/main/distro/mvn/conf/logging/java.util.logging.properties
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
# Licensed to the Apache Software Foundation (ASF) under one
|
||||
# or more contributor license agreements. See the NOTICE file
|
||||
# distributed with this work for additional information
|
||||
# regarding copyright ownership. The ASF licenses this file
|
||||
# to you under the Apache License, Version 2.0 (the
|
||||
# "License"); you may not use this file except in compliance
|
||||
# with the License. You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing,
|
||||
# software distributed under the License is distributed on an
|
||||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
# KIND, either express or implied. See the License for the
|
||||
# specific language governing permissions and limitations
|
||||
# under the License.
|
@@ -20,6 +20,7 @@
|
||||
| mvnd client log configuration
|
||||
-->
|
||||
<configuration>
|
||||
<contextListener class="ch.qos.logback.classic.jul.LevelChangePropagator"/>
|
||||
|
||||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
|
||||
<encoder>
|
||||
|
Reference in New Issue
Block a user