Skip to content

Commit

Permalink
[TH2-5148] Disabled appenders
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita-Smirnov-Exactpro committed Dec 25, 2023
1 parent b0445d4 commit a90b6da
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/main/java/com/exactpro/th2/conn/MicroserviceMain.java
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,10 @@ public static void main(String[] args) {
processor.onComplete();
});

IServiceFactory serviceFactory = new ServiceFactory(workspaceFolder,
Files.createTempDirectory("sailfish-workspace").toFile());
IServiceFactory serviceFactory = ServiceFactory
.builder(workspaceFolder, Files.createTempDirectory("sailfish-workspace").toFile())
.useServiceAppenders(false)
.build();
disposer.register(() -> {
LOGGER.info("Close service factory");
serviceFactory.close();
Expand Down Expand Up @@ -280,13 +282,11 @@ private static Object getParamValue(ISettingsProxy settings, String parameterNam
LOGGER.info("AvailableProcessors '{}'", Runtime.getRuntime().availableProcessors());

ConnectableFlowable<ConnectivityMessage> messageConnectable = flowable
.doOnNext(message -> {
LOGGER.trace(
"Message before observeOn with sequence {} and direction {}",
message.getSequence(),
message.getDirection()
);
})
.doOnNext(message -> LOGGER.trace(
"Message before observeOn with sequence {} and direction {}",
message.getSequence(),
message.getDirection()
))
.observeOn(PIPELINE_SCHEDULER)
.doOnNext(connectivityMessage -> {
LOGGER.debug("Start handling connectivity message {}", connectivityMessage);
Expand Down

0 comments on commit a90b6da

Please sign in to comment.