docker-library / docker-library/mysql
Enable slow query / general log to output to stdout
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 2.6k
- Forks
- 2.2k
- PR merge metrics
- No merged PRs in 30d
Description
Currently, the system logs output in a way where you can use 'docker logs' to view them.
This is beneficial for a variety of reasons as you don't need to specifically access the containers filesystem to view them.
Is there a way to also enable the slow query or general query log to output in the same way?
Contributor guide
No contributing guide indexed for this repository
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
Start by inspecting the repository's MySQL image configuration and existing container logging behavior. Determine how slow-query and general-query logging are configured, then verify that enabled logs are emitted through the container's standard output and visible with docker logs. No specific files or tests are identified in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, mysql
- Domain
- databases, devops
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100