Skip to content

Commit

Permalink
Add more logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
ajsutton committed Mar 11, 2019
1 parent f12e681 commit 3515376
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ public CompletableFuture<?> start(final ExecutorService executorService) {
.whenComplete(
(result, error) -> {
synchronized (overallFuture) {
LOG.debug("Completer stage future complete", error);
if (error != null) {
overallFuture.completeExceptionally(error);
} else {
Expand Down Expand Up @@ -106,6 +107,7 @@ private Future<?> runWithErrorHandling(

private void abort(final Throwable error) {
synchronized (overallFuture) {
LOG.info("Aborting build", error);
pipelineSource.abort();
pipes.forEach(Pipe::abort);
futures.forEach(future -> future.cancel(true));
Expand Down
2 changes: 1 addition & 1 deletion services/pipeline/src/test/resources/log4j2.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="INFO">
<Properties>
<Property name="root.log.level">INFO</Property>
<Property name="root.log.level">DEBUG</Property>
</Properties>

<Appenders>
Expand Down

0 comments on commit 3515376

Please sign in to comment.