Skip to content

Commit 2bf78e9

Browse files
committed
extra message
1 parent 82a46d1 commit 2bf78e9

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

engine/schema/src/com/cloud/upgrade/dao/Upgrade41100to41110.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@ private void uncrypt(Connection conn, String name)
102102
try (
103103
ResultSet resultSet = prepSelStmt.executeQuery();
104104
) {
105+
if (LOG.isInfoEnabled()) {
106+
LOG.info("updating setting '" + name + "'");
107+
}
105108
if (resultSet.next()) {
106109
if ("Secure".equals(resultSet.getString(1))) {
107110
value = DBEncryptionUtil.decrypt(resultSet.getString(2));
@@ -113,7 +116,7 @@ private void uncrypt(Connection conn, String name)
113116
prepUpdStmt.execute();
114117
} catch (SQLException e) {
115118
if (LOG.isInfoEnabled()) {
116-
LOG.info("failed to update configuration item '"+name+"' with value '"+value+"'");
119+
LOG.info("failed to update configuration item '" + name + "' with value '" + value + "'");
117120
if (LOG.isDebugEnabled()) {
118121
LOG.debug("no update because ", e);
119122
}

0 commit comments

Comments
 (0)