You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by fi...@apache.org on 2009/07/05 18:55:32 UTC

svn commit: r791273 - /felix/trunk/fileinstall/src/main/java/org/apache/felix/fileinstall/DirectoryWatcher.java

Author: filippo
Date: Sun Jul  5 16:55:32 2009
New Revision: 791273

URL: http://svn.apache.org/viewvc?rev=791273&view=rev
Log:
FELIX-1301 Limit FileInstall configuration information to one line in the output. Patch submitted by Sahoo

Modified:
    felix/trunk/fileinstall/src/main/java/org/apache/felix/fileinstall/DirectoryWatcher.java

Modified: felix/trunk/fileinstall/src/main/java/org/apache/felix/fileinstall/DirectoryWatcher.java
URL: http://svn.apache.org/viewvc/felix/trunk/fileinstall/src/main/java/org/apache/felix/fileinstall/DirectoryWatcher.java?rev=791273&r1=791272&r2=791273&view=diff
==============================================================================
--- felix/trunk/fileinstall/src/main/java/org/apache/felix/fileinstall/DirectoryWatcher.java (original)
+++ felix/trunk/fileinstall/src/main/java/org/apache/felix/fileinstall/DirectoryWatcher.java Sun Jul  5 16:55:32 2009
@@ -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())