chore(NA): increase max listeners on log reporter (#63845) (#63883)

This commit is contained in:
Tiago Costa 2020-04-17 20:51:10 +01:00 committed by GitHub
parent 719f259ece
commit 86ebdb67ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,7 +30,7 @@ import { LogInterceptor } from './log_interceptor';
// thrown every time we start the server.
// In order to keep using the legacy logger until we remove it I'm just adding
// a new hard limit here.
process.stdout.setMaxListeners(15);
process.stdout.setMaxListeners(25);
export function getLoggerStream({ events, config }) {
const squeeze = new Squeeze(events);