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

Add support for viewing service logs when Grafana Loki logging driver is used #668

Open
dutts opened this issue Jul 5, 2023 · 0 comments · May be fixed by #669
Open

Add support for viewing service logs when Grafana Loki logging driver is used #668

dutts opened this issue Jul 5, 2023 · 0 comments · May be fixed by #669

Comments

@dutts
Copy link

dutts commented Jul 5, 2023


FEATURE REQUEST

When services are configured to use the Grafana Loki logging driver the View log link on both the Task and Service pages is disabled.

From their documentation:

Note: The Loki logging driver still uses the json-log driver in combination with sending logs to Loki, this is mainly useful to keep the docker logs command working.

So we should be able to continue to use swarmpit to view logs.

Steps to reproduce the issue:

  1. Configure a service with a Loki logging driver.
  2. Deploy to the swarm.

What happens:
Open the service's Services and Task entries in swarmpit, note the View log options are disabled.

What should happen:
We should still be able to view logs when the Loki driver is used.

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 a pull request may close this issue.

1 participant