airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lah...@apache.org
Subject svn commit: r1401007 - in /airavata/trunk/modules/ws-messenger/messagebox/src/main/java/org/apache/airavata/wsmg/msgbox/Storage/dbpool: DatabaseStorageImpl.java MessageBoxDB.java
Date Mon, 22 Oct 2012 19:03:40 GMT
Author: lahiru
Date: Mon Oct 22 19:03:40 2012
New Revision: 1401007

URL: http://svn.apache.org/viewvc?rev=1401007&view=rev
Log:
changing the logging levels

Modified:
    airavata/trunk/modules/ws-messenger/messagebox/src/main/java/org/apache/airavata/wsmg/msgbox/Storage/dbpool/DatabaseStorageImpl.java
    airavata/trunk/modules/ws-messenger/messagebox/src/main/java/org/apache/airavata/wsmg/msgbox/Storage/dbpool/MessageBoxDB.java

Modified: airavata/trunk/modules/ws-messenger/messagebox/src/main/java/org/apache/airavata/wsmg/msgbox/Storage/dbpool/DatabaseStorageImpl.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/ws-messenger/messagebox/src/main/java/org/apache/airavata/wsmg/msgbox/Storage/dbpool/DatabaseStorageImpl.java?rev=1401007&r1=1401006&r2=1401007&view=diff
==============================================================================
--- airavata/trunk/modules/ws-messenger/messagebox/src/main/java/org/apache/airavata/wsmg/msgbox/Storage/dbpool/DatabaseStorageImpl.java
(original)
+++ airavata/trunk/modules/ws-messenger/messagebox/src/main/java/org/apache/airavata/wsmg/msgbox/Storage/dbpool/DatabaseStorageImpl.java
Mon Oct 22 19:03:40 2012
@@ -97,7 +97,7 @@ public class DatabaseStorageImpl impleme
             list = MessageBoxDB.getInstance().removeAllMessagesforClient(key);
 
         }catch(SQLNonTransientConnectionException e){
-            logger.info("Database connection is interrupted");
+            logger.warn("Database connection is interrupted");
         } catch (SQLException e) {
             throw new Exception("Error reading the message with the key " + key, e);
         } catch (IOException e) {

Modified: airavata/trunk/modules/ws-messenger/messagebox/src/main/java/org/apache/airavata/wsmg/msgbox/Storage/dbpool/MessageBoxDB.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/ws-messenger/messagebox/src/main/java/org/apache/airavata/wsmg/msgbox/Storage/dbpool/MessageBoxDB.java?rev=1401007&r1=1401006&r2=1401007&view=diff
==============================================================================
--- airavata/trunk/modules/ws-messenger/messagebox/src/main/java/org/apache/airavata/wsmg/msgbox/Storage/dbpool/MessageBoxDB.java
(original)
+++ airavata/trunk/modules/ws-messenger/messagebox/src/main/java/org/apache/airavata/wsmg/msgbox/Storage/dbpool/MessageBoxDB.java
Mon Oct 22 19:03:40 2012
@@ -212,7 +212,7 @@ public class MessageBoxDB {
                 // commit
                 db.commit(connection);
             } catch(SQLNonTransientConnectionException e){
-                logger.info("Database connection is interrupted");
+                logger.warn("Database connection is interrupted");
             } catch (SQLException sql) {
                 db.rollback(connection);
                 throw sql;



Mime
View raw message