Include frankenphp version in logs
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 11.3k
- Forks
- 488
- Avg merge
- 4d 10h
- Merged PRs (30d)
- 11
Description
Describe your feature request
On startup, FrankenPHP logs the following:
FrankenPHP started 🐘 {"php_version": "8.2.31", "num_threads": 4, "max_threads": 8, "max_requests": 0}
The startup log should include the FrankenPHP version, consistent with what frankenphp -v reports:
FrankenPHP started 🐘 {"version": "1.12.4", "php_version": "8.2.31", "num_threads": 4, "max_threads": 8, "max_requests": 0}
Optionally, the Caddy version could be included too, mirroring the full version string from frankenphp -v.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the startup log that emits “FrankenPHP started” and compare its version data with the output of frankenphp -v. Update the startup log to include the FrankenPHP version, and determine whether the optional Caddy version should also be represented. Done means the startup output matches the requested version fields.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- backend, observability
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100