{"action":"created","issue":{"url":"https://api.github.com/repos/docker/swarm/issues/1357","labels_url":"https://api.github.com/repos/docker/swarm/issues/1357/labels{/name}","comments_url":"https://api.github.com/repos/docker/swarm/issues/1357/comments","events_url":"https://api.github.com/repos/docker/swarm/issues/1357/events","html_url":"https://github.com/docker/swarm/issues/1357","id":114184603,"number":1357,"title":"Re-direct Swarm's log to a file instead of stdout","user":{"login":"klaus1982","id":11135994,"avatar_url":"https://avatars.githubusercontent.com/u/11135994?v=3","gravatar_id":"","url":"https://api.github.com/users/klaus1982","html_url":"https://github.com/klaus1982","followers_url":"https://api.github.com/users/klaus1982/followers","following_url":"https://api.github.com/users/klaus1982/following{/other_user}","gists_url":"https://api.github.com/users/klaus1982/gists{/gist_id}","starred_url":"https://api.github.com/users/klaus1982/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klaus1982/subscriptions","organizations_url":"https://api.github.com/users/klaus1982/orgs","repos_url":"https://api.github.com/users/klaus1982/repos","events_url":"https://api.github.com/users/klaus1982/events{/privacy}","received_events_url":"https://api.github.com/users/klaus1982/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-30T02:06:13Z","updated_at":"2015-10-30T03:18:55Z","closed_at":null,"body":"One requirement of mine is to re-direct Swarm's log to a file instead of stdout; \">\" is not the option as I'd like to run swarm in docker and retrieve the log by file. If this feature is here, I'd suggest to update it in `Dockerfile`"},"comment":{"url":"https://api.github.com/repos/docker/swarm/issues/comments/152401479","html_url":"https://github.com/docker/swarm/issues/1357#issuecomment-152401479","issue_url":"https://api.github.com/repos/docker/swarm/issues/1357","id":152401479,"user":{"login":"MorganBauer","id":104934,"avatar_url":"https://avatars.githubusercontent.com/u/104934?v=3","gravatar_id":"","url":"https://api.github.com/users/MorganBauer","html_url":"https://github.com/MorganBauer","followers_url":"https://api.github.com/users/MorganBauer/followers","following_url":"https://api.github.com/users/MorganBauer/following{/other_user}","gists_url":"https://api.github.com/users/MorganBauer/gists{/gist_id}","starred_url":"https://api.github.com/users/MorganBauer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MorganBauer/subscriptions","organizations_url":"https://api.github.com/users/MorganBauer/orgs","repos_url":"https://api.github.com/users/MorganBauer/repos","events_url":"https://api.github.com/users/MorganBauer/events{/privacy}","received_events_url":"https://api.github.com/users/MorganBauer/received_events","type":"User","site_admin":false},"created_at":"2015-10-30T03:18:55Z","updated_at":"2015-10-30T03:18:55Z","body":"Just throwing this out there. Given the work put into the implementation in the docker-engine (multiple backends, etc), do you think it's feasible to turn that into a pkg and reuse it?"}}