mirror of
https://github.com/apache/maven-mvnd.git
synced 2025-09-28 00:22:03 +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" />
|
<contextListener class="ch.qos.logback.classic.jul.LevelChangePropagator" />
|
||||||
|
|
||||||
<appender name="DAEMON" class="ch.qos.logback.core.FileAppender">
|
<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>
|
<encoder>
|
||||||
<pattern>%d{HH:mm:ss.SSS} %.-1level %msg%n</pattern>
|
<pattern>%d{HH:mm:ss.SSS} %.-1level %msg%n</pattern>
|
||||||
</encoder>
|
</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
|
# - mvnd.daemonStorage: this property defines the location where mvnd stores its
|
||||||
# files (registry and daemon logs). This property can only be defined as
|
# files (registry and daemon logs). This property can only be defined as
|
||||||
# a system property on the command line
|
# 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.extClasspath: internal option to specify the maven extension classpath
|
||||||
# - mvnd.coreExtensions: internal option to specify the list of maven extension to register
|
# - mvnd.coreExtensions: internal option to specify the list of maven extension to register
|
||||||
#
|
#
|
||||||
|
@@ -25,15 +25,8 @@
|
|||||||
<configuration>
|
<configuration>
|
||||||
<contextListener class="ch.qos.logback.classic.jul.LevelChangePropagator" />
|
<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">
|
<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>
|
<encoder>
|
||||||
<pattern>%d{HH:mm:ss.SSS} %.-1level %msg%n</pattern>
|
<pattern>%d{HH:mm:ss.SSS} %.-1level %msg%n</pattern>
|
||||||
</encoder>
|
</encoder>
|
||||||
@@ -51,7 +44,4 @@
|
|||||||
<logger name="org.apache.maven.lifecycle.internal.builder.BuilderCommon" level="ERROR" />
|
<logger name="org.apache.maven.lifecycle.internal.builder.BuilderCommon" level="ERROR" />
|
||||||
<logger name="org.eclipse.aether.internal.impl.WarnChecksumPolicy" level="ERROR" />
|
<logger name="org.eclipse.aether.internal.impl.WarnChecksumPolicy" level="ERROR" />
|
||||||
|
|
||||||
<root level="${consoleLevel:-info}">
|
|
||||||
<appender-ref ref="MEM" />
|
|
||||||
</root>
|
|
||||||
</configuration>
|
</configuration>
|
||||||
|
Reference in New Issue
Block a user