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

ddev logs -s db should provide the info in /var/log/mysqld.log #1136

Closed
rfay opened this issue Sep 26, 2018 · 0 comments
Closed

ddev logs -s db should provide the info in /var/log/mysqld.log #1136

rfay opened this issue Sep 26, 2018 · 0 comments
Milestone

Comments

@rfay
Copy link
Member

rfay commented Sep 26, 2018

Describe the bug

Currently you have to docker commit and then docker run -it <commit_id> bash and then docker exec to examine the mysqld.log for a broken db container.

Instead, mysqld should be outputting this stuff to stdout or stderr where docker logs and ddev logs -s db will have access to it.

To Reproduce

Expected behavior

We should see fatal errors in ddev logs -s db

Screenshots
If applicable, add screenshots to help explain your problem.

Version and configuration information (please complete the following information):

  • Host computer OS and Version: [e.g. Windows 10, macOS High Sierra]
  • Docker version information (use docker version) and insert it here.
  • ddev version information (use ddev version)
  • config.yaml contents for the misbehaving project
  • Do you have any custom configuration (nginx, php, mysql) in the .ddev folder? If so, have you tried without them?

Additional context
Add any other context about the problem here. Thanks!

rfay added a commit to rfay/ddev that referenced this issue Sep 29, 2018
rfay added a commit to rfay/ddev that referenced this issue Oct 1, 2018
@rfay rfay closed this as completed in 19063c0 Oct 2, 2018
@dclear dclear added this to the v1.3.0 milestone Oct 13, 2018
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

No branches or pull requests

2 participants