algairim commented on a change in pull request #1192:
URL: https://github.com/apache/brooklyn-server/pull/1192#discussion_r659998006
##########
File path:
core/src/main/java/org/apache/brooklyn/util/core/logbook/DelegatingLogStore.java
##########
@@ -66,7 +66,8 @@ private LogStore loadDelegate() {
Class<? extends LogStore> clazz = (Class<? extends LogStore>)
clu.loadClass(className);
delegate = createLogStoreProviderInstance(mgmt, clazz);
} catch (Exception e) {
- log.warn("Brooklyn Logbook: unable to instantiate Log Store " +
className, ". Forcing to use FileLogStore", e);
+ log.warn("Brooklyn Logbook: unable to instantiate Log Store '" +
className + "'. Fall back on FileLogStore", e.getMessage());
+ log.debug("", e);
Review comment:
Print full stack trace at debug log level only.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]