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

Logs are too noisey #1075

Open
kaihendry opened this issue Oct 8, 2024 · 2 comments
Open

Logs are too noisey #1075

kaihendry opened this issue Oct 8, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@kaihendry
Copy link

Describe you feature request

Is your feature request related to a problem? Please describe.

When I look through a dunglas/frankenphp log it has quite a bit of noise like:

  • certutil is not available
  • Caddyfile input is not formatted
  • Various install-php-extensions output

For example: https://github.com/kaihendry/php-mysql-timeout/actions/runs/11232966650/job/31225665359

Describe the solution you'd like
Some guidance on how to output structured application logs

@kaihendry kaihendry added the enhancement New feature or request label Oct 8, 2024
@dunglas
Copy link
Owner

dunglas commented Oct 8, 2024

Many logs are because you get build logs in your call to docker compose logs. Try to do a docker compose build before running up to skip them.

There is nothing we can do on our side about the one for the Caddyfile format, it's a known Caddy issue. You may also want to reduce the log level (info is maybe too verbose for you, try warning maybe?).

@kaihendry
Copy link
Author

Thank you btw for this project, it seems to nicest way to get PHP up & running for some tests.

I'm not quite sure how limit it to warning. That build before up idea is good. Thank you again.

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

2 participants