Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use v3 logging (and hide verbose log messages when verbose switch not used) #123

Open
NoxHarmonium opened this issue Sep 16, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@NoxHarmonium
Copy link
Contributor

I found out that Serverless actually document how the plugin logging works somewhere:

https://github.com/serverless/serverless/blob/8460b25a516a001710efe9c1fdf23604d3b2e656/docs/guides/plugins/cli-output.md

We seem to be using the deprecated v2 logging (which I reverse engineered from the serverless-webpack plugin) but we should probably use the v3 version. This would also allow us to use log levels to hide noisy log messages.

At the noisiest level (Debug) we could even log patches to show how was-durable-lambda is patching the serverless config.

@NoxHarmonium NoxHarmonium added the enhancement New feature or request label Sep 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant