Coder Social home page Coder Social logo

Comments (1)

kabnfever avatar kabnfever commented on June 5, 2024

Sorry, but something does not jive here. The Swarmpit developers indicated in issue #357 that you can only view logs in their user-interface when your stack uses either the json-file or journald logging drivers. However, if you use the Swarmpit "Swagger" interface to the Swarmpit "logs" API, you can in fact access the logs of any Docker service or task in your stack as shown in the attached image regardless of the logging driver used. Note that in the attached image this is for a stack that is using the "splunk" logging driver and which the "View Log" button is greyed out.

What is limiting the Swarmpit application from doing the same? Why is the Swarmpit UI/frontend application not doing the same call to their own APIs as the Swagger UI is doing? This does not make sense, the Swagger UI works, but the Swarmpit UI does not...even though they both are using the same/identical Swarmpit API call?

The "View Log" button should not be greyed out given that the logs can be viewed via Swarmpit's own "logs" API even when a stack is using a logging driver other than the json-file or journald logging drivers.

Swarmpit_Logs_via_Swagger_UI

from agent.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.