Skip to content

🎥 Make videos programmatically with React

update still command

Jonny Burger221b9f3005e5
diff --git a/packages/lambda/src/cli/commands/still.ts b/packages/lambda/src/cli/commands/still.ts
index 435aa4ab12..c1f5622e2b 100644
--- a/packages/lambda/src/cli/commands/still.ts
+++ b/packages/lambda/src/cli/commands/still.ts
@@ -142,13 +142,13 @@ export const stillCommand = async (args: string[], remotionRoot: string) => {
scale,
forceHeight: height,
forceWidth: width,
+ onInit({cloudWatchLogs, renderId}) {
+ Log.info(
+ CliInternals.chalk.gray(`Render invoked with ID = ${renderId}`)
+ );
+ Log.verbose(`CloudWatch logs (if enabled): ${cloudWatchLogs}`);
+ },
});
- Log.info(
- CliInternals.chalk.gray(
- `Bucket = ${res.bucketName}, renderId = ${res.renderId}`
- )
- );
- Log.verbose(`CloudWatch logs (if enabled): ${res.cloudWatchLogs}`);
if (downloadName) {
Log.info('Finished rendering. Downloading...');