Skip to content

Conversation

emilioziniades
Copy link
Contributor

Fixes #94

Ideally one would be able to specify the log level via command line arguments but I'm not sure it's worth the extra complexity.

Instead of expanding the interface of the CLI by adding a verbosity flag, I thought it made more sense to just hardcode it to something sane: log everything within the crate, only info logs from other crates.

The reason I had to do info,cooklang=info,cook=trace is because the filter parsing was applying cook=trace as a regex to all crates starting with cook, including all the cooklang ones which we don't really want to log here.

@emilioziniades
Copy link
Contributor Author

hey @dubadub, would you mind taking a look please?

@dubadub
Copy link
Member

dubadub commented Jan 13, 2024

@emilioziniades Awesome, thanks for the fix!

@dubadub dubadub merged commit 8a64b5e into cooklang:main Jan 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cook server not logging to stdout
2 participants