We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abdce67 commit ad39cb4Copy full SHA for ad39cb4
packages/node-core/src/integrations/pino.ts
@@ -97,7 +97,7 @@ function stripIgnoredFields(result: PinoResult): PinoResult {
97
98
const _pinoIntegration = defineIntegration((userOptions: DeepPartial<PinoOptions> = {}) => {
99
const options: PinoOptions = {
100
- autoInstrument: 'autoInstrument' in userOptions ? !!userOptions.autoInstrument : DEFAULT_OPTIONS.autoInstrument,
+ autoInstrument: userOptions.autoInstrument === false ? userOptions.autoInstrument : DEFAULT_OPTIONS.autoInstrument,
101
error: { ...DEFAULT_OPTIONS.error, ...userOptions.error },
102
log: { ...DEFAULT_OPTIONS.log, ...userOptions.log },
103
};
0 commit comments