From 26ea59fcb666cb587713e809103a46bcc5e1a6bd Mon Sep 17 00:00:00 2001 From: gjoranv Date: Thu, 5 Oct 2017 12:41:45 +0200 Subject: Don't log the stacktrace reference. (The intention was to log the stack trace itself, but it does not add any informational value beyond the message.) --- .../main/scala/com/yahoo/container/di/CloudSubscriberFactory.scala | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/container-di/src/main/scala/com/yahoo/container/di/CloudSubscriberFactory.scala b/container-di/src/main/scala/com/yahoo/container/di/CloudSubscriberFactory.scala index 0306f536109..6c09ef80b85 100644 --- a/container-di/src/main/scala/com/yahoo/container/di/CloudSubscriberFactory.scala +++ b/container-di/src/main/scala/com/yahoo/container/di/CloudSubscriberFactory.scala @@ -7,7 +7,6 @@ import com.yahoo.config.ConfigInstance import com.yahoo.config.subscription.{ConfigHandle, ConfigSource, ConfigSourceSet, ConfigSubscriber} import com.yahoo.container.di.CloudSubscriberFactory._ import com.yahoo.container.di.config.{Subscriber, SubscriberFactory} -import com.yahoo.log.LogLevel import com.yahoo.vespa.config.ConfigKey import scala.collection.JavaConverters._ @@ -80,8 +79,7 @@ object CloudSubscriberFactory { case e: IllegalArgumentException => numExceptions += 1 log.warning("Got exception from the config system (please ignore the exception if you just removed " - + "a component from your application that used the mentioned config): " - + e.getMessage + "\n" + e.getStackTrace) + + "a component from your application that used the mentioned config): " + e.getMessage) if (numExceptions >= 5) throw new IllegalArgumentException("Failed retrieving the next config generation.", e) } -- cgit v1.2.3