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

Dev server log level option #696

Open
ianschmitz opened this issue Oct 11, 2023 · 1 comment
Open

Dev server log level option #696

ianschmitz opened this issue Oct 11, 2023 · 1 comment
Assignees
Labels
feature New feature or request

Comments

@ianschmitz
Copy link

Is your feature request related to a problem? Please describe.
I would like to set the log level for the dev server so i don't have to see the info level messages while developing

Describe the solution you'd like
Add a log level option to the dev server so i can specify what log level should be output. For example:

inngest-cli dev --log-level=warn
@ianschmitz ianschmitz added the feature New feature or request label Oct 11, 2023
@JonParton
Copy link

Heads up that this is actually already possible!

https://github.com/inngest/inngest/blob/734189fcdc0bc34f77243cb80462cdbaadfc1f76/cmd/commands/root.go#L68C37-L68C46

you can do

inngest-cli dev --log-level warn

and you will no longer see the info level log messages!

However, I think it might be worth doing a re-look at the levels of logs ... I feel like I want to know things like if the inngest server has been successfully started up, but don't want to see the exact inputs passed in to each inngest function invocation for example. At the moment all of these come out as info so it's all or nothing!

I feel some logs like the exact details of function invocations should be switched down to debug?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants