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 43ca004f5135f16e86fcc8d976e3b5d6b537a2e1 Author: Aaron Radzinski <[email protected]> AuthorDate: Tue Oct 13 20:15:46 2020 -0700 Update NCConversation.scala --- .../nlpcraft/probe/mgrs/conversation/NCConversation.scala | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/nlpcraft/src/main/scala/org/apache/nlpcraft/probe/mgrs/conversation/NCConversation.scala b/nlpcraft/src/main/scala/org/apache/nlpcraft/probe/mgrs/conversation/NCConversation.scala index 365f4b4..e68f2bb 100644 --- a/nlpcraft/src/main/scala/org/apache/nlpcraft/probe/mgrs/conversation/NCConversation.scala +++ b/nlpcraft/src/main/scala/org/apache/nlpcraft/probe/mgrs/conversation/NCConversation.scala @@ -152,7 +152,10 @@ case class NCConversation( ctx = ctx.asScala.filter(tok ⇒ !p.test(tok)).asJava } - logger.info(s"Conversation is cleared using token predicate.") + logger.info(s"Conversation is cleared using token predicate [" + + s"usrId=$usrId, " + + s"mdlId=$mdlId" + + s"]") } /** @@ -252,7 +255,10 @@ case class NCConversation( require(Thread.holdsLock(stm)) if (ctx.isEmpty) - logger.info(s"Conversation context is empty for [mdlId=$mdlId, usrId=$usrId]") + logger.info(s"Conversation context is empty for [" + + s"mdlId=$mdlId, " + + s"usrId=$usrId" + + s"]") else { val tbl = NCAsciiTable("Token ID", "Groups", "Text", "Value", "From request") @@ -264,7 +270,10 @@ case class NCConversation( tok.getServerRequestId )) - logger.info(s"Conversation tokens [mdlId=$mdlId, usrId=$usrId]:\n${tbl.toString()}") + logger.info(s"Conversation tokens [" + + s"mdlId=$mdlId, " + + s"usrId=$usrId" + + s"]:\n${tbl.toString()}") } }
