Skip to content

Commit

Permalink
logs
Browse files Browse the repository at this point in the history
Signed-off-by: Oleh Dokuka <odokuka@vmware.com>
Signed-off-by: Oleh Dokuka <oleh.dokuka@icloud.com>
Signed-off-by: OlegDokuka <odokuka@vmware.com>
  • Loading branch information
OlegDokuka committed Mar 27, 2023
1 parent ce3e0bb commit 49eb695
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ static void cleanup() throws ExecutionException, InterruptedException, TimeoutEx
Flux.interval(Duration.ofSeconds(1))
.doOnNext(
__ -> channels.forEach(c -> logger.info("Active Channel " + c)))
.takeUntilOther(ds.onDispose())
.takeUntilOther(ds.onDispose().log("-disposing-"))
.subscribe())
.doOnUnbound(
(ds) -> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ static void cleanup() throws ExecutionException, InterruptedException, TimeoutEx
Flux.interval(Duration.ofSeconds(1))
.doOnNext(
__ -> channels.forEach(c -> logger.info("Active Channel " + c)))
.takeUntilOther(ds.onDispose())
.takeUntilOther(ds.onDispose().log("-disposing-"))
.subscribe())
.doOnUnbound(
(ds) -> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ static void cleanup() throws ExecutionException, InterruptedException, TimeoutEx
Flux.interval(Duration.ofSeconds(1))
.doOnNext(
__ -> channels.forEach(c -> logger.info("Active Channel " + c)))
.takeUntilOther(ds.onDispose())
.takeUntilOther(ds.onDispose().log("-disposing-"))
.subscribe())
.doOnUnbound(
(ds) -> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ static void cleanup() throws ExecutionException, InterruptedException, TimeoutEx
.doOnNext(
__ ->
channels.forEach(c -> logger.info("Active Channel " + c)))
.takeUntilOther(ds.onDispose())
.takeUntilOther(ds.onDispose().log("-disposing-"))
.subscribe())
.doOnUnbound(
(ds) -> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ static void cleanup() throws ExecutionException, InterruptedException, TimeoutEx
Flux.interval(Duration.ofSeconds(1))
.doOnNext(
__ -> channels.forEach(c -> logger.info("Active Channel " + c)))
.takeUntilOther(ds.onDispose())
.takeUntilOther(ds.onDispose().log("-disposing-"))
.subscribe())
.doOnUnbound(
(ds) -> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ static void cleanup() throws ExecutionException, InterruptedException, TimeoutEx
Flux.interval(Duration.ofSeconds(1))
.doOnNext(
__ -> channels.forEach(c -> logger.info("Active Channel " + c)))
.takeUntilOther(ds.onDispose())
.takeUntilOther(ds.onDispose().log("-disposing-"))
.subscribe())
.doOnUnbound(
(ds) -> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ static void cleanup() throws ExecutionException, InterruptedException, TimeoutEx
.doOnNext(
__ ->
channels.forEach(c -> logger.info("Active Channel " + c)))
.takeUntilOther(ds.onDispose())
.takeUntilOther(ds.onDispose().log("-disposing-"))
.subscribe())
.doOnUnbound(
(ds) -> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ static void cleanup() throws ExecutionException, InterruptedException, TimeoutEx
Flux.interval(Duration.ofSeconds(1))
.doOnNext(
__ -> channels.forEach(c -> logger.info("Active Channel " + c)))
.takeUntilOther(ds.onDispose())
.takeUntilOther(ds.onDispose().log("-disposing-"))
.subscribe())
.doOnUnbound(
(ds) -> {
Expand Down

0 comments on commit 49eb695

Please sign in to comment.