How do I create logs from the db?
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 3.4k
- Forks
- 292
- PR merge metrics
- No merged PRs in 30d
Description
I am working in a project where there is a Docker container with the command: sql-migrate up -config/init.yml.
I would like to enable logs, but I can't change this command to postgres -c log_statement=all.
Is this possible to do with sql-migrate? If not, what would I need to hack/extend in order to make this possible?
Or how is it internally being done? I tried finding it, but I couldn't connect the dots.
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 tracing the sql-migrate up -config/init.yml command and comparing its behavior with PostgreSQL's postgres -c log_statement=all. Determine whether logging is already exposed by sql-migrate or whether the command would need an extension point. Done means identifying the supported configuration or clearly documenting the required change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, postgres
- Domain
- cli, database
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100