webiny / webiny-js

Open-source serverless enterprise CMS. Includes a headless CMS, page builder, form builder, and file manager. Easy to customize and expand. Deploys to AWS.
https://www.webiny.com
Other
7.24k stars 590 forks source link

Webiny CLI - Introduce `--data-migration-reporter` Flag #4136

Closed adrians5j closed 2 months ago

adrians5j commented 2 months ago

Changes

With the --data-migration-reporter flag that can be passed upon running the webiny deploy command, users have the ability to skip emitting data migration logs in their terminal (by passing --no-data-migration-reporter.

This can be useful for users that are experiencing issues in their CI/CD environments (we've had a case where the data migration was emitting too much logs, ultimately causing the environment to crash).

Other Changes

Upon instantiating fastify, we're now passing logger: false. This is simply because, at the moment, Fastify dumps a solid amount of useless logs related to HTTP requests, which ultimately do not bring any value to the user.

In the near future, we'll have our own Pino logger instance which we'll be sending to Fastify, which users will be able to further configure.

How Has This Been Tested?

Manually.

Documentation

Changelog.