karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbono...@apache.org
Subject [karaf] 02/02: Add karaf.log support in run mojo
Date Tue, 11 Dec 2018 07:02:19 GMT
This is an automated email from the ASF dual-hosted git repository.

jbonofre pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/karaf.git

commit a46a527a16f83524c71aa24039ec866b675e64af
Author: Jean-Baptiste Onofré <jbonofre@apache.org>
AuthorDate: Tue Dec 11 08:01:59 2018 +0100

    Add karaf.log support in run mojo
---
 .../src/main/java/org/apache/karaf/tooling/RunMojo.java                  | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/RunMojo.java
b/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/RunMojo.java
index 8ef8f80..5da6587 100644
--- a/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/RunMojo.java
+++ b/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/RunMojo.java
@@ -119,6 +119,7 @@ public class RunMojo extends MojoSupport {
         System.setProperty("karaf.base", karafDirectory.getAbsolutePath());
         System.setProperty("karaf.data", karafDirectory.getAbsolutePath() + "/data");
         System.setProperty("karaf.etc", karafDirectory.getAbsolutePath() + "/etc");
+        System.setProperty("karaf.log", karafDirectory.getAbsolutePath() + "/data/log");
         System.setProperty("karaf.instances", karafDirectory.getAbsolutePath() + "/instances");
         System.setProperty("karaf.startLocalConsole", "false");
         System.setProperty("karaf.startRemoteShell", startSsh);


Mime
View raw message