extra message

This commit is contained in:
Daan Hoogland 2018-06-08 16:45:40 +02:00
parent 82a46d1b8d
commit 2bf78e92a5

View File

@ -102,6 +102,9 @@ public class Upgrade41100to41110 implements DbUpgrade {
try ( try (
ResultSet resultSet = prepSelStmt.executeQuery(); ResultSet resultSet = prepSelStmt.executeQuery();
) { ) {
if (LOG.isInfoEnabled()) {
LOG.info("updating setting '" + name + "'");
}
if (resultSet.next()) { if (resultSet.next()) {
if ("Secure".equals(resultSet.getString(1))) { if ("Secure".equals(resultSet.getString(1))) {
value = DBEncryptionUtil.decrypt(resultSet.getString(2)); value = DBEncryptionUtil.decrypt(resultSet.getString(2));
@ -113,7 +116,7 @@ public class Upgrade41100to41110 implements DbUpgrade {
prepUpdStmt.execute(); prepUpdStmt.execute();
} catch (SQLException e) { } catch (SQLException e) {
if (LOG.isInfoEnabled()) { if (LOG.isInfoEnabled()) {
LOG.info("failed to update configuration item '"+name+"' with value '"+value+"'"); LOG.info("failed to update configuration item '" + name + "' with value '" + value + "'");
if (LOG.isDebugEnabled()) { if (LOG.isDebugEnabled()) {
LOG.debug("no update because ", e); LOG.debug("no update because ", e);
} }