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

Rolify app logs cli/command #163

Merged
merged 2 commits into from
Mar 28, 2023
Merged

Rolify app logs cli/command #163

merged 2 commits into from
Mar 28, 2023

Conversation

milk1000cc
Copy link
Contributor

App logs filtered by roles (e.g., mrsk app logs --roles=job) are not filtered correctly.
Also, logs are not output properly when the same service runs on the same host with different roles.

When config/deploy.yml is

service: app

servers:
  web:
    - 1.1.1.1
  job:
    hosts:
      - 1.1.1.1
    cmd: bin/jobs

current output of mrsk app logs is

INFO [b92537f1] Running docker ps --quiet --filter label=service=app | xargs docker logs --tail 100 2>&1 on 1.1.1.1
App Host: 1.1.1.1
Nothing found

@dhh dhh merged commit fd5313e into basecamp:main Mar 28, 2023
@milk1000cc milk1000cc deleted the rolify-app-logs branch March 29, 2023 12:34
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

Successfully merging this pull request may close these issues.

2 participants