diff --git a/packages/input-output-logger/index.js b/packages/input-output-logger/index.js index 86d049fab..711535f68 100644 --- a/packages/input-output-logger/index.js +++ b/packages/input-output-logger/index.js @@ -1,7 +1,9 @@ import { Transform } from 'node:stream' const defaults = { - logger: console.log, + logger: (message) => { + console.log(JSON.stringify(message)) + }, awsContext: false, omitPaths: [], mask: undefined