We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
docker-compose logs
Output of docker-compose version
docker-compose version
docker-compose version 1.25.5, build 8a1c60f6 docker-py version: 4.1.0 CPython version: 3.7.5 OpenSSL version: OpenSSL 1.1.0l 10 Sep 2019
Output of docker version
docker version
Client: Version: 18.09.9-ce API version: 1.39 Go version: go1.10.3 Git commit: 039a7df Built: Fri Nov 1 19:26:49 2019 OS/Arch: linux/amd64 Experimental: false Server: Engine: Version: 18.09.9-ce API version: 1.39 (minimum version 1.12) Go version: go1.10.3 Git commit: 039a7df Built: Fri Nov 1 19:28:24 2019 OS/Arch: linux/amd64 Experimental: false
Output of docker-compose config (Make sure to add the relevant -f and other flags)
docker-compose config
-f
services: rabbit: image: rabbitmq logging: driver: local version: '3.0'
docker-compose up -d
$ docker-compose logs Attaching to mike_rabbit_1 rabbit_1 | WARNING: no logs are available with the 'local' log driver
Get logs from rabbitmq
N/A
If I do docker logs <container-id> this works.
docker logs <container-id>
This seems like it comes from compose/container.py:
compose/container.py
@property def has_api_logs(self): log_type = self.log_driver return not log_type or log_type in ('json-file', 'journald')
That doesn't include 'local'.
I'll try to fix it and if it's as easy as adding 'local' to the list - will send a PR tomorrow.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Description of the issue
Context information (for bug reports)
Output of
docker-compose version
Output of
docker version
Output of
docker-compose config
(Make sure to add the relevant
-f
and other flags)Steps to reproduce the issue
docker-compose up -d
docker-compose logs
Observed result
$ docker-compose logs
Attaching to mike_rabbit_1
rabbit_1 | WARNING: no logs are available with the 'local' log driver
Expected result
Get logs from rabbitmq
Stacktrace / full error message
Additional information
If I do
docker logs <container-id>
this works.This seems like it comes from
compose/container.py
:That doesn't include 'local'.
I'll try to fix it and if it's as easy as adding 'local' to the list - will send a PR tomorrow.
The text was updated successfully, but these errors were encountered: