From cea337a5fd4303fb1526065bd388ac7d00a539a4 Mon Sep 17 00:00:00 2001 From: Sarah Gerweck Date: Mon, 30 May 2016 19:39:54 -0700 Subject: [PATCH] Reduce logging verbosity --- src/main/scala/org/gerweck/scalafx/util/FutureObservable.scala | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/scala/org/gerweck/scalafx/util/FutureObservable.scala b/src/main/scala/org/gerweck/scalafx/util/FutureObservable.scala index f842b5a..4c65b10 100644 --- a/src/main/scala/org/gerweck/scalafx/util/FutureObservable.scala +++ b/src/main/scala/org/gerweck/scalafx/util/FutureObservable.scala @@ -28,13 +28,12 @@ object FutureObservable { * is already a built-in feature. */ def apply[A](defaultValue: A)(future: Future[A])(implicit ec: ExecutionContext): ReadOnlyObjectProperty[A] = { - logger.debug(s"Got request to create new FutureObservable") future.value match { case Some(Success(a)) => ObjectProperty(a) case Some(Failure(f)) => - logger.info(s"Got failure from FutureObservable's result: $f") + logger.debug(s"Got failure from FutureObservable's result: $f") ObjectProperty(defaultValue) case None =>