{"action":"created","issue":{"url":"https://api.github.com/repos/dimagi/commcare-cloud/issues/2005","repository_url":"https://api.github.com/repos/dimagi/commcare-cloud","labels_url":"https://api.github.com/repos/dimagi/commcare-cloud/issues/2005/labels{/name}","comments_url":"https://api.github.com/repos/dimagi/commcare-cloud/issues/2005/comments","events_url":"https://api.github.com/repos/dimagi/commcare-cloud/issues/2005/events","html_url":"https://github.com/dimagi/commcare-cloud/issues/2005","id":348085270,"node_id":"MDU6SXNzdWUzNDgwODUyNzA=","number":2005,"title":"Add 'logs' action to service command","user":{"login":"dannyroberts","id":137212,"node_id":"MDQ6VXNlcjEzNzIxMg==","avatar_url":"https://avatars1.githubusercontent.com/u/137212?v=4","gravatar_id":"","url":"https://api.github.com/users/dannyroberts","html_url":"https://github.com/dannyroberts","followers_url":"https://api.github.com/users/dannyroberts/followers","following_url":"https://api.github.com/users/dannyroberts/following{/other_user}","gists_url":"https://api.github.com/users/dannyroberts/gists{/gist_id}","starred_url":"https://api.github.com/users/dannyroberts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dannyroberts/subscriptions","organizations_url":"https://api.github.com/users/dannyroberts/orgs","repos_url":"https://api.github.com/users/dannyroberts/repos","events_url":"https://api.github.com/users/dannyroberts/events{/privacy}","received_events_url":"https://api.github.com/users/dannyroberts/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"pr33thi","id":35747290,"node_id":"MDQ6VXNlcjM1NzQ3Mjkw","avatar_url":"https://avatars3.githubusercontent.com/u/35747290?v=4","gravatar_id":"","url":"https://api.github.com/users/pr33thi","html_url":"https://github.com/pr33thi","followers_url":"https://api.github.com/users/pr33thi/followers","following_url":"https://api.github.com/users/pr33thi/following{/other_user}","gists_url":"https://api.github.com/users/pr33thi/gists{/gist_id}","starred_url":"https://api.github.com/users/pr33thi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pr33thi/subscriptions","organizations_url":"https://api.github.com/users/pr33thi/orgs","repos_url":"https://api.github.com/users/pr33thi/repos","events_url":"https://api.github.com/users/pr33thi/events{/privacy}","received_events_url":"https://api.github.com/users/pr33thi/received_events","type":"User","site_admin":false},"assignees":[{"login":"pr33thi","id":35747290,"node_id":"MDQ6VXNlcjM1NzQ3Mjkw","avatar_url":"https://avatars3.githubusercontent.com/u/35747290?v=4","gravatar_id":"","url":"https://api.github.com/users/pr33thi","html_url":"https://github.com/pr33thi","followers_url":"https://api.github.com/users/pr33thi/followers","following_url":"https://api.github.com/users/pr33thi/following{/other_user}","gists_url":"https://api.github.com/users/pr33thi/gists{/gist_id}","starred_url":"https://api.github.com/users/pr33thi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pr33thi/subscriptions","organizations_url":"https://api.github.com/users/pr33thi/orgs","repos_url":"https://api.github.com/users/pr33thi/repos","events_url":"https://api.github.com/users/pr33thi/events{/privacy}","received_events_url":"https://api.github.com/users/pr33thi/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-08-06T21:17:36Z","updated_at":"2018-08-06T21:22:08Z","closed_at":null,"author_association":"MEMBER","body":"It should just print out the location of the logs.\r\n\r\n```\r\ncommcare-cloud <env> service elasticsearch logs\r\n```\r\n\r\nThis will more or less just require hard-coding a mapping between services and log locations. A lot of the locations are documented at https://confluence.dimagi.com/display/commcarehq/Firefighting+HQ#FirefightingHQ-RestartingServices.\r\n"},"comment":{"url":"https://api.github.com/repos/dimagi/commcare-cloud/issues/comments/410857072","html_url":"https://github.com/dimagi/commcare-cloud/issues/2005#issuecomment-410857072","issue_url":"https://api.github.com/repos/dimagi/commcare-cloud/issues/2005","id":410857072,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDg1NzA3Mg==","user":{"login":"dannyroberts","id":137212,"node_id":"MDQ6VXNlcjEzNzIxMg==","avatar_url":"https://avatars1.githubusercontent.com/u/137212?v=4","gravatar_id":"","url":"https://api.github.com/users/dannyroberts","html_url":"https://github.com/dannyroberts","followers_url":"https://api.github.com/users/dannyroberts/followers","following_url":"https://api.github.com/users/dannyroberts/following{/other_user}","gists_url":"https://api.github.com/users/dannyroberts/gists{/gist_id}","starred_url":"https://api.github.com/users/dannyroberts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dannyroberts/subscriptions","organizations_url":"https://api.github.com/users/dannyroberts/orgs","repos_url":"https://api.github.com/users/dannyroberts/repos","events_url":"https://api.github.com/users/dannyroberts/events{/privacy}","received_events_url":"https://api.github.com/users/dannyroberts/received_events","type":"User","site_admin":false},"created_at":"2018-08-06T21:22:08Z","updated_at":"2018-08-06T21:22:08Z","author_association":"MEMBER","body":"@snopoke checking you're happy with the syntax. I chose it because it follows a familiar pattern so it'll flow better from our fingers than a separate command (`commcare-cloud <env> show-logs elasticsearch` or something), and it also emphasizes that the same set of services are available as are for the `commcare-cloud <env> service <service> start/stop/restart` commands."}}
{"actor":{"display_login":"dannyroberts"}}