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 2021/01/05 04:12:58 UTC

[incubator-nlpcraft] 02/02: Remove dup logging from CLI.

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

commit 8e078cc43d2e8ec9b84c9315dab736fccd482a69
Author: Aaron Radzinski <ar...@datalingvo.com>
AuthorDate: Mon Jan 4 20:12:44 2021 -0800

    Remove dup logging from CLI.
---
 .../scala/org/apache/nlpcraft/model/tools/cmdline/NCCli.scala    | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCli.scala b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCli.scala
index ce0ad91..1fc828f 100644
--- a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCli.scala
+++ b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCli.scala
@@ -672,15 +672,6 @@ object NCCli extends App {
                     logServerInfo(beacon)
 
                     showTip()
-
-                    if (state.accessToken.isDefined) {
-                        val tbl = new NCAsciiTable()
-
-                        tbl += (s"${g("Email")}", state.userEmail.get)
-                        tbl += (s"${g("Access token")}", state.accessToken.get)
-
-                        logln(s"Signed in with default user:\n$tbl")
-                    }
                 }
             }
         }