mirror of
https://github.com/apache/maven-mvnd.git
synced 2025-09-26 15:38:34 +00:00
Fix logging configuration and references to renamed property mvnd.uid
This commit is contained in:
2
dist/src/main/distro/conf/logback.xml
vendored
2
dist/src/main/distro/conf/logback.xml
vendored
@@ -26,7 +26,7 @@
|
||||
<contextListener class="ch.qos.logback.classic.jul.LevelChangePropagator" />
|
||||
|
||||
<appender name="DAEMON" class="ch.qos.logback.core.FileAppender">
|
||||
<file>${mvnd.daemonStorage}/daemon-${mvnd.uid}.log</file>
|
||||
<file>${mvnd.daemonStorage}/daemon-${mvnd.id}.log</file>
|
||||
<encoder>
|
||||
<pattern>%d{HH:mm:ss.SSS} %.-1level %msg%n</pattern>
|
||||
</encoder>
|
||||
|
2
dist/src/main/distro/conf/mvnd.properties
vendored
2
dist/src/main/distro/conf/mvnd.properties
vendored
@@ -33,7 +33,7 @@
|
||||
# - mvnd.daemonStorage: this property defines the location where mvnd stores its
|
||||
# files (registry and daemon logs). This property can only be defined as
|
||||
# a system property on the command line
|
||||
# - mvnd.uid: this property is used internally to identify the daemon being created
|
||||
# - mvnd.id: this property is used internally to identify the daemon being created
|
||||
# - mvnd.extClasspath: internal option to specify the maven extension classpath
|
||||
# - mvnd.coreExtensions: internal option to specify the list of maven extension to register
|
||||
#
|
||||
|
@@ -25,15 +25,8 @@
|
||||
<configuration>
|
||||
<contextListener class="ch.qos.logback.classic.jul.LevelChangePropagator" />
|
||||
|
||||
<!--
|
||||
| write project-specific build log messages to ${project.build.directory}/build.log files
|
||||
-->
|
||||
<appender name="MEM" class="org.mvndaemon.mvnd.logging.smart.ProjectBuildLogAppender">
|
||||
<pattern>[%level] %msg%n</pattern>
|
||||
</appender>
|
||||
|
||||
<appender name="DAEMON" class="ch.qos.logback.core.FileAppender">
|
||||
<file>${mvnd.daemonStorage}/daemon-${mvnd.uid}.log</file>
|
||||
<file>${mvnd.daemonStorage}/daemon-${mvnd.id}.log</file>
|
||||
<encoder>
|
||||
<pattern>%d{HH:mm:ss.SSS} %.-1level %msg%n</pattern>
|
||||
</encoder>
|
||||
@@ -51,7 +44,4 @@
|
||||
<logger name="org.apache.maven.lifecycle.internal.builder.BuilderCommon" level="ERROR" />
|
||||
<logger name="org.eclipse.aether.internal.impl.WarnChecksumPolicy" level="ERROR" />
|
||||
|
||||
<root level="${consoleLevel:-info}">
|
||||
<appender-ref ref="MEM" />
|
||||
</root>
|
||||
</configuration>
|
||||
|
Reference in New Issue
Block a user