From fcd9c1f1261d0f5b38526961999c5f2c98940608 Mon Sep 17 00:00:00 2001 From: Stefano Sgorlon Date: Tue, 24 Oct 2017 17:26:24 +0100 Subject: [PATCH] updating log --- .../hmrc/apisubscriptionfields/repository/MongoCrudHelper.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/uk/gov/hmrc/apisubscriptionfields/repository/MongoCrudHelper.scala b/app/uk/gov/hmrc/apisubscriptionfields/repository/MongoCrudHelper.scala index 09e1b60..f57f8e4 100644 --- a/app/uk/gov/hmrc/apisubscriptionfields/repository/MongoCrudHelper.scala +++ b/app/uk/gov/hmrc/apisubscriptionfields/repository/MongoCrudHelper.scala @@ -39,7 +39,7 @@ trait MongoCrudHelper[T] extends MongoIndexCreator with MongoErrorHandler { } def getMany(selector: JsObject)(implicit r: Reads[T]):Future[List[T]] = { - Logger.debug(s"[getCursor] selector: $selector") + Logger.debug(s"[getMany] selector: $selector") col.find(selector).cursor[T](ReadPreference.primary).collect[List]( Int.MaxValue, Cursor.FailOnError[List[T]]() )