You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nlpcraft.apache.org by ar...@apache.org on 2020/09/19 07:45:55 UTC

[incubator-nlpcraft] branch master updated: Fixing build.

This is an automated email from the ASF dual-hosted git repository.

aradzinski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git


The following commit(s) were added to refs/heads/master by this push:
     new a53cc19  Fixing build.
a53cc19 is described below

commit a53cc1986ca647b9c58d358b3f2c33d12ed84a78
Author: Aaron Radzinski <ar...@datalingvo.com>
AuthorDate: Sat Sep 19 00:45:43 2020 -0700

    Fixing build.
---
 nlpcraft/pom.xml                                                      | 3 ++-
 .../main/scala/org/apache/nlpcraft/server/probe/NCProbeManager.scala  | 4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/nlpcraft/pom.xml b/nlpcraft/pom.xml
index 2d59bb5..a6da246 100644
--- a/nlpcraft/pom.xml
+++ b/nlpcraft/pom.xml
@@ -279,11 +279,12 @@
                             <name>server</name>
                             <healthcheckUrl>http://localhost:8081/api/v1/health</healthcheckUrl>
                             <waitAfterLaunch>180</waitAfterLaunch>
-                            <processLogFile>server.log</processLogFile>
+                            <processLogFile>${project.build.directory}/server-${maven.build.timestamp}.log</processLogFile>
                             <arguments>
                                 <argument>java</argument>
                                 <argument>-Xmx4G</argument>
                                 <argument>-Xms4G</argument>
+                                <argument>-DNLPCRAFT_ANSI_COLOR_DISABLED=true</argument>
                                 <argument>-jar</argument>
                                 <argument>${project.build.directory}/${nlpcraft.all.deps.jar}</argument>
                                 <argument>-server</argument>
diff --git a/nlpcraft/src/main/scala/org/apache/nlpcraft/server/probe/NCProbeManager.scala b/nlpcraft/src/main/scala/org/apache/nlpcraft/server/probe/NCProbeManager.scala
index 46c4db4..0889692 100644
--- a/nlpcraft/src/main/scala/org/apache/nlpcraft/server/probe/NCProbeManager.scala
+++ b/nlpcraft/src/main/scala/org/apache/nlpcraft/server/probe/NCProbeManager.scala
@@ -120,7 +120,7 @@ object NCProbeManager extends NCService {
             s"probeToken=$probeToken" +
         s"]"
 
-        def short: String = s"$probeId (guid:$probeGuid, tok:$probeToken)"
+        def short: String = s"$probeId [guid=$probeGuid, tok=$probeToken]"
     }
     
     // Immutable probe holder.
@@ -801,7 +801,7 @@ object NCProbeManager extends NCService {
         tbl += (
             Seq(
                 probe.probeId,
-                s"  uid: ${probe.probeGuid}",
+                s"  guid: ${probe.probeGuid}",
                 s"  tok: ${probe.probeToken}"
             ),
             s"${probe.osName} ver. ${probe.osVersion}",