-
Type: Improvement
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 10.10
-
Component/s: Runtime
-
Epic Link:
-
Tags:
-
Team:AT
-
Sprint:nxAT 11.1.23
-
Story Points:1
Currently only the failure message is displayed, which does not help to understand the problem most of the time.
Displaying the complete exception would help a lot.
Suggested change
diff --git a/nuxeo-runtime/nuxeo-launcher-commons/src/main/java/org/nuxeo/launcher/config/BackingServiceConfigurator.java b/nuxeo-runtime/nuxeo-launcher-commons/src/main/java/org/nuxeo/launcher/config/BackingServiceConfigurator.java index f8da07b3bbe..d81d2a71696 100644 --- a/nuxeo-runtime/nuxeo-launcher-commons/src/main/java/org/nuxeo/launcher/config/BackingServiceConfigurator.java +++ b/nuxeo-runtime/nuxeo-launcher-commons/src/main/java/org/nuxeo/launcher/config/BackingServiceConfigurator.java @@ -95,7 +95,7 @@ public class BackingServiceConfigurator { if (checker.accepts(configurationGenerator)) { try { Failsafe.with(retryPolicy) - .onFailedAttempt(failure -> log.error(failure.getMessage())) // + .onFailedAttempt(failure -> log.error(failure.getMessage(), failure)) // .onRetry((c, f, ctx) -> log.warn(String.format("Failure %d. Retrying....", ctx.getExecutions()))) // .run(() -> checker.check(configurationGenerator)); //
- is related to
-
NXP-29504 Fix Nuxeo startup logging of duplicate components
- Resolved