FELIX-1301 Limit FileInstall configuration information to one line in the output. Patch submitted by Sahoo
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@791273 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/fileinstall/src/main/java/org/apache/felix/fileinstall/DirectoryWatcher.java b/fileinstall/src/main/java/org/apache/felix/fileinstall/DirectoryWatcher.java
index 9cf7e21..ec628fb 100644
--- a/fileinstall/src/main/java/org/apache/felix/fileinstall/DirectoryWatcher.java
+++ b/fileinstall/src/main/java/org/apache/felix/fileinstall/DirectoryWatcher.java
@@ -107,10 +107,10 @@
*/
public void run()
{
- log(POLL + " (ms) " + poll, null);
- log(DIR + " " + watchedDirectory.getAbsolutePath(), null);
- log(DEBUG + " " + debug, null);
- log(START_NEW_BUNDLES + " " + startBundles, null);
+ log("{" + POLL + " (ms) = " + poll + ", "
+ + DIR + " = " + watchedDirectory.getAbsolutePath() + ", "
+ + DEBUG + " = " + debug + ", "
+ + START_NEW_BUNDLES + " = " + startBundles + "}", null);
initializeCurrentManagedBundles();
Map currentManagedConfigs = new HashMap(); // location -> Long(time)
while (!interrupted())