Skip to content

Commit 4e4a041

Browse files
authored
Merge pull request #2963 from remotion-dev/respect-log-level-merge
2 parents 148cd3d + d8161e4 commit 4e4a041

3 files changed

Lines changed: 4 additions & 0 deletions

File tree

packages/lambda/src/functions/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,8 @@ const innerHandler = async (
163163
isWarm,
164164
});
165165

166+
RenderInternals.setLogLevel(params.logLevel);
167+
166168
const response = await mergeHandler(params, {
167169
expectedBucketOwner: currentUserId,
168170
});

packages/lambda/src/functions/launch.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,7 @@ export const launchHandler = async (
424424
outName: params.outName,
425425
serializedResolvedProps: allChunksAvailable.serializedResolvedProps,
426426
inputProps: allChunksAvailable.inputProps,
427+
logLevel: params.logLevel,
427428
},
428429
retries: 2,
429430
});

packages/lambda/src/shared/constants.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,7 @@ export type LambdaPayloads = {
418418
inputProps: SerializedInputProps;
419419
serializedResolvedProps: SerializedInputProps;
420420
verbose: boolean;
421+
logLevel: LogLevel;
421422
};
422423
};
423424

0 commit comments

Comments
 (0)