jrxFive / python-nomad

Client library Hashicorp Nomad
https://python-nomad.readthedocs.io/en/latest/
MIT License
140 stars 74 forks source link

Nomad logs #56

Open i4s-strinidad opened 6 years ago

i4s-strinidad commented 6 years ago

Hi,

Is there any way to execute nomad logs command? I could not see it in the docs and may be a great feature for the library.

jonathanrcross commented 6 years ago

Hey @i4s-strinidad, the client endpoint has changed a couple times with newer releases. Depending on your version of nomad and the client library you might have mixed results.

https://github.com/jrxFive/python-nomad/blob/master/nomad/api/client.py

Probably interested in:

If you have any issues with those please let me know and we can try to rectify them; also absolutely right on having them in the documentation.

aaron0428 commented 6 years ago

why the tests(https://github.com/jrxFive/python-nomad/tree/master/tests) dose not have "nomad logs" example?
Is there any way to execute nomad logs command?