airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ami...@apache.org
Subject svn commit: r1482982 - /airavata/trunk/modules/credential-store/src/main/java/org/apache/airavata/credential/store/store/impl/db/CredentialsDAO.java
Date Wed, 15 May 2013 18:02:40 GMT
Author: amilaj
Date: Wed May 15 18:02:40 2013
New Revision: 1482982

URL: http://svn.apache.org/r1482982
Log:
Changed error logs to debug so that it will not print a big stack trace when password credentials
are used

Modified:
    airavata/trunk/modules/credential-store/src/main/java/org/apache/airavata/credential/store/store/impl/db/CredentialsDAO.java

Modified: airavata/trunk/modules/credential-store/src/main/java/org/apache/airavata/credential/store/store/impl/db/CredentialsDAO.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/credential-store/src/main/java/org/apache/airavata/credential/store/store/impl/db/CredentialsDAO.java?rev=1482982&r1=1482981&r2=1482982&view=diff
==============================================================================
--- airavata/trunk/modules/credential-store/src/main/java/org/apache/airavata/credential/store/store/impl/db/CredentialsDAO.java
(original)
+++ airavata/trunk/modules/credential-store/src/main/java/org/apache/airavata/credential/store/store/impl/db/CredentialsDAO.java
Wed May 15 18:02:40 2013
@@ -227,7 +227,7 @@ public class CredentialsDAO extends Pare
             stringBuilder.append("gateway - ").append(gatewayName);
             stringBuilder.append("token id - ").append(tokenId);
 
-            log.error(stringBuilder.toString(), e);
+            log.debug(stringBuilder.toString(), e);
 
             throw new CredentialStoreException(stringBuilder.toString(), e);
         } catch (ClassNotFoundException e) {
@@ -236,7 +236,7 @@ public class CredentialsDAO extends Pare
             stringBuilder.append("gateway - ").append(gatewayName);
             stringBuilder.append("token id - ").append(tokenId);
 
-            log.error(stringBuilder.toString(), e);
+            log.debug(stringBuilder.toString(), e);
 
             throw new CredentialStoreException(stringBuilder.toString(), e);
         } catch (IOException e) {
@@ -245,7 +245,7 @@ public class CredentialsDAO extends Pare
             stringBuilder.append("gateway - ").append(gatewayName);
             stringBuilder.append("tokenId - ").append(tokenId);
 
-            log.error(stringBuilder.toString(), e);
+            log.debug(stringBuilder.toString(), e);
 
             throw new CredentialStoreException(stringBuilder.toString(), e);
         } finally {
@@ -302,21 +302,21 @@ public class CredentialsDAO extends Pare
             StringBuilder stringBuilder = new StringBuilder("Error retrieving credential
list for ");
             stringBuilder.append("gateway - ").append(gatewayName);
 
-            log.error(stringBuilder.toString(), e);
+            log.debug(stringBuilder.toString(), e);
 
             throw new CredentialStoreException(stringBuilder.toString(), e);
         } catch (ClassNotFoundException e) {
             StringBuilder stringBuilder = new StringBuilder("Error retrieving credential
list for ");
             stringBuilder.append("gateway - ").append(gatewayName);
             stringBuilder.append("Error de-serializing objects.");
-            log.error(stringBuilder.toString(), e);
+            log.debug(stringBuilder.toString(), e);
 
             throw new CredentialStoreException(stringBuilder.toString(), e);
         } catch (IOException e) {
             StringBuilder stringBuilder = new StringBuilder("Error retrieving credential
list for ");
             stringBuilder.append("gateway - ").append(gatewayName);
             stringBuilder.append("Error de-serializing objects.");
-            log.error(stringBuilder.toString(), e);
+            log.debug(stringBuilder.toString(), e);
 
             throw new CredentialStoreException(stringBuilder.toString(), e);
         } finally {



Mime
View raw message