Skip to content
Permalink
Browse files

Make LogSuppressor the default for logInterpreter

[changelog:changed]
  • Loading branch information...
cdupuis committed Jan 22, 2019
1 parent d905b8e commit 6a921e2c488f57fe544e5d4bcfa72885b3825423
Showing with 4 additions and 2 deletions.
  1. +4 −2 lib/api-helper/machine/AbstractSoftwareDeliveryMachine.ts
@@ -64,7 +64,9 @@ import { IngesterRegistration } from "../../api/registration/IngesterRegistratio
import { InterpretLog } from "../../spi/log/InterpretedLog";
import { DefaultGoalImplementationMapper } from "../goal/DefaultGoalImplementationMapper";
import { GoalSetGoalCompletionListener } from "../listener/goalSetListener";
import { lastLinesLogInterpreter } from "../log/logInterpreters";
import {
LogSuppressor,
} from "../log/logInterpreters";
import { HandlerRegistrationManagerSupport } from "./HandlerRegistrationManagerSupport";
import { ListenerRegistrationManagerSupport } from "./ListenerRegistrationManagerSupport";

@@ -136,7 +138,7 @@ export abstract class AbstractSoftwareDeliveryMachine<O extends SoftwareDelivery
const implementation = {
implementationName, goal, goalExecutor,
pushTest: _.get(options, "pushTest") || AnyPush,
logInterpreter: _.get(options, "logInterpreter") || lastLinesLogInterpreter(implementationName, 10),
logInterpreter: _.get(options, "logInterpreter") || LogSuppressor,
progressReporter: _.get(options, "progressReporter") || NoProgressReport,
projectListeners: _.get(options, "projectListeners") || [],
};

0 comments on commit 6a921e2

Please sign in to comment.
You can’t perform that action at this time.