Log more output on application push

357 views Asked by At

I'm pushing a manifest to CF with the cloudfoundry-operations library like this:

 final PushApplicationManifestRequest pushRequest = PushApplicationManifestRequest.builder()
    .manifest(applicationManifest)
    .build();

final Mono<Void> pushManifest = cfOperations.applications().pushManifest(pushRequest);

pushManifest.block(); // I want to block at this point

The issue I have is that this operation can take several minutes and I get no feedback in between, there's no output. I would like to see more output on what's going on (is it uploading, staging...)

Is there a simple way of seeing more log output? Like, are there some configuration parameters for the CF client I can adjust for this?

I could sieve through the code and adjust slf4j configuration to print more information, but feels fragile and complex.

0

There are 0 answers