openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1799352 - /openwebbeans/meecrowave/trunk/meecrowave-maven-plugin/src/main/java/org/apache/meecrowave/maven/MeecrowaveBundleMojo.java
Date Tue, 20 Jun 2017 15:26:23 GMT
Author: struberg
Date: Tue Jun 20 15:26:23 2017
New Revision: 1799352

URL: http://svn.apache.org/viewvc?rev=1799352&view=rev
Log:
logfile location should be based on actual mw path and not pwd

Patch by christoph ledl, txs! 

Modified:
    openwebbeans/meecrowave/trunk/meecrowave-maven-plugin/src/main/java/org/apache/meecrowave/maven/MeecrowaveBundleMojo.java

Modified: openwebbeans/meecrowave/trunk/meecrowave-maven-plugin/src/main/java/org/apache/meecrowave/maven/MeecrowaveBundleMojo.java
URL: http://svn.apache.org/viewvc/openwebbeans/meecrowave/trunk/meecrowave-maven-plugin/src/main/java/org/apache/meecrowave/maven/MeecrowaveBundleMojo.java?rev=1799352&r1=1799351&r2=1799352&view=diff
==============================================================================
--- openwebbeans/meecrowave/trunk/meecrowave-maven-plugin/src/main/java/org/apache/meecrowave/maven/MeecrowaveBundleMojo.java
(original)
+++ openwebbeans/meecrowave/trunk/meecrowave-maven-plugin/src/main/java/org/apache/meecrowave/maven/MeecrowaveBundleMojo.java
Tue Jun 20 15:26:23 2017
@@ -302,8 +302,8 @@ public class MeecrowaveBundleMojo extend
                 "  <Appenders>\n" +
                 "    <Console name=\"Console\" target=\"SYSTEM_OUT\">\n" +
                 "      <PatternLayout pattern=\"[%d{HH:mm:ss.SSS}][%highlight{%-5level}][%15.15t][%30.30logger]
%msg%n\"/>\n" +
-                "    </Console>" +
-                "    <RollingFile name=\"DailyLogFile\" fileName=\"logs/meecrowave.log\"\n"
+
+                "    </Console>\n" +
+                "    <RollingFile name=\"DailyLogFile\" fileName=\"${sys:meecrowave.base}/logs/meecrowave.log\"\n"
+
                 "                 filePattern=\"logs/${name}-%d{yyyy-MM-dd}-%i.log.gz\">\n"
+
                 "      <PatternLayout pattern=\"[%d{HH:mm:ss.SSS}][%-5level][%15.15t][%30.30logger]
%msg%n\"/>\n" +
                 "      <Policies>\n" +



Mime
View raw message