]> git.argeo.org Git - lgpl/argeo-commons.git/blobdiff - eclipse/runtime/org.argeo.eclipse.ui/src/main/java/org/argeo/eclipse/spring/ApplicationContextTracker.java
Update license headers
[lgpl/argeo-commons.git] / eclipse / runtime / org.argeo.eclipse.ui / src / main / java / org / argeo / eclipse / spring / ApplicationContextTracker.java
index 816edc1be864edc0173b187b342907c5e66208d3..fcd42bab68c4af0c8d3d186a8f0b00f704b26875 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
- * Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org>\r
+ * Copyright (C) 2007-2012 Mathieu Baudier\r
  *\r
  * Licensed under the Apache License, Version 2.0 (the "License");\r
  * you may not use this file except in compliance with the License.\r
@@ -13,7 +13,6 @@
  * See the License for the specific language governing permissions and\r
  * limitations under the License.\r
  */\r
-\r
 package org.argeo.eclipse.spring;\r
 \r
 import static java.text.MessageFormat.format;\r
@@ -115,8 +114,9 @@ class ApplicationContextTracker {
                if (contributorBundle.getState() != Bundle.ACTIVE\r
                                && contributorBundle.getState() != Bundle.STARTING) {\r
                        try {\r
-                               log.info("Starting bundle: "\r
-                                               + contributorBundle.getSymbolicName());\r
+                               if (log.isTraceEnabled())\r
+                                       log.trace("Starting bundle: "\r
+                                                       + contributorBundle.getSymbolicName());\r
                                contributorBundle.start();\r
                        } catch (BundleException e) {\r
                                e.printStackTrace();\r