Skip to content
Browse files

[ignore] update logging a bit

  • Loading branch information...
1 parent d322c21 commit 888c35af40ed12b48fea053125465c44aa595e65 @dizzzz dizzzz committed
Showing with 2 additions and 1 deletion.
  1. +1 −1 src/org/exist/storage/BrokerPool.java
  2. +1 −0 src/org/exist/xquery/Profiler.java
View
2 src/org/exist/storage/BrokerPool.java
@@ -1547,7 +1547,7 @@ public void execute(Map<Thread, DBBroker> map) {
}
}
});
- LOG.error(sb.toString());
+ LOG.debug(sb.toString());
throw new RuntimeException(sb.toString());
}
return broker;
View
1 src/org/exist/xquery/Profiler.java
@@ -144,6 +144,7 @@ public final boolean isLogEnabled() {
final Boolean globalProp = (Boolean) broker.getConfiguration().getProperty(CONFIG_PROPERTY_TRACELOG);
return logEnabled || (globalProp != null && globalProp.booleanValue());
} catch (Throwable t) {
+ log.debug("Ignored exception: " + t.getMessage());
return logEnabled;
}
}

0 comments on commit 888c35a

Please sign in to comment.
Something went wrong with that request. Please try again.