geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ke...@apache.org
Subject svn commit: r1094695 - /geronimo/server/trunk/plugins/hotdeploy/geronimo-hot-deploy/src/main/java/org/apache/geronimo/deployment/hot/DirectoryMonitor.java
Date Mon, 18 Apr 2011 18:57:28 GMT
Author: kevan
Date: Mon Apr 18 18:57:28 2011
New Revision: 1094695

URL: http://svn.apache.org/viewvc?rev=1094695&view=rev
Log:
GERONIMO-5915 No need to include exception in the log. Make log text more informative. This
case will happen on a start of a newly installed server

Modified:
    geronimo/server/trunk/plugins/hotdeploy/geronimo-hot-deploy/src/main/java/org/apache/geronimo/deployment/hot/DirectoryMonitor.java

Modified: geronimo/server/trunk/plugins/hotdeploy/geronimo-hot-deploy/src/main/java/org/apache/geronimo/deployment/hot/DirectoryMonitor.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/hotdeploy/geronimo-hot-deploy/src/main/java/org/apache/geronimo/deployment/hot/DirectoryMonitor.java?rev=1094695&r1=1094694&r2=1094695&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/hotdeploy/geronimo-hot-deploy/src/main/java/org/apache/geronimo/deployment/hot/DirectoryMonitor.java
(original)
+++ geronimo/server/trunk/plugins/hotdeploy/geronimo-hot-deploy/src/main/java/org/apache/geronimo/deployment/hot/DirectoryMonitor.java
Mon Apr 18 18:57:28 2011
@@ -241,7 +241,7 @@ public class DirectoryMonitor implements
     			inputStream = new ObjectInputStream(new FileInputStream(monitorFile));
     			newFiles = (Map<String,FileInfo>) inputStream.readObject();
     		} catch (IOException ex) {
-    			log.info("IOException reading directory monitor state from " + monitorFile.getName(),
ex);
+    			log.info("No directory monitor state to be read. This is to be expected on initial
start of a new server");
     		} catch (ClassNotFoundException cnfe) {
     			log.warn("ClassNotFoundException reading directory monitor state from " + monitorFile.getName(),
cnfe);
     		} finally {



Mime
View raw message