{"action":"created","issue":{"url":"https://api.github.com/repos/flatpak/flatpak/issues/202","repository_url":"https://api.github.com/repos/flatpak/flatpak","labels_url":"https://api.github.com/repos/flatpak/flatpak/issues/202/labels{/name}","comments_url":"https://api.github.com/repos/flatpak/flatpak/issues/202/comments","events_url":"https://api.github.com/repos/flatpak/flatpak/issues/202/events","html_url":"https://github.com/flatpak/flatpak/pull/202","id":167044070,"number":202,"title":"Set up logging to the journal","user":{"login":"matthiasclasen","id":4834845,"avatar_url":"https://avatars.githubusercontent.com/u/4834845?v=3","gravatar_id":"","url":"https://api.github.com/users/matthiasclasen","html_url":"https://github.com/matthiasclasen","followers_url":"https://api.github.com/users/matthiasclasen/followers","following_url":"https://api.github.com/users/matthiasclasen/following{/other_user}","gists_url":"https://api.github.com/users/matthiasclasen/gists{/gist_id}","starred_url":"https://api.github.com/users/matthiasclasen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthiasclasen/subscriptions","organizations_url":"https://api.github.com/users/matthiasclasen/orgs","repos_url":"https://api.github.com/users/matthiasclasen/repos","events_url":"https://api.github.com/users/matthiasclasen/events{/privacy}","received_events_url":"https://api.github.com/users/matthiasclasen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-07-22T13:22:11Z","updated_at":"2016-07-29T00:11:07Z","closed_at":"2016-07-25T14:38:29Z","pull_request":{"url":"https://api.github.com/repos/flatpak/flatpak/pulls/202","html_url":"https://github.com/flatpak/flatpak/pull/202","diff_url":"https://github.com/flatpak/flatpak/pull/202.diff","patch_url":"https://github.com/flatpak/flatpak/pull/202.patch"},"body":"Systemd does this for services it runs. In fact, for a while I thought we would just inherit this via activation: if your app is dbus activatable, dbus would forward the activation to systemd, which would set up journal redirection for flatpak, from where it gets 'inherited' by the sandbox. But a) this only works if dbus actually forwards the activation (for which you need to install not just a dbus service file but also a systemd unit), and b) it is probably a little too indirect and accidental.\r\n\r\nI think we should do the same thing systemd does when we set up the sandbox. There should be a way to opt out of this in the manifest, and in the flatpak run commandline."},"comment":{"url":"https://api.github.com/repos/flatpak/flatpak/issues/comments/236061451","html_url":"https://github.com/flatpak/flatpak/pull/202#issuecomment-236061451","issue_url":"https://api.github.com/repos/flatpak/flatpak/issues/202","id":236061451,"user":{"login":"matthiasclasen","id":4834845,"avatar_url":"https://avatars.githubusercontent.com/u/4834845?v=3","gravatar_id":"","url":"https://api.github.com/users/matthiasclasen","html_url":"https://github.com/matthiasclasen","followers_url":"https://api.github.com/users/matthiasclasen/followers","following_url":"https://api.github.com/users/matthiasclasen/following{/other_user}","gists_url":"https://api.github.com/users/matthiasclasen/gists{/gist_id}","starred_url":"https://api.github.com/users/matthiasclasen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthiasclasen/subscriptions","organizations_url":"https://api.github.com/users/matthiasclasen/orgs","repos_url":"https://api.github.com/users/matthiasclasen/repos","events_url":"https://api.github.com/users/matthiasclasen/events{/privacy}","received_events_url":"https://api.github.com/users/matthiasclasen/received_events","type":"User","site_admin":false},"created_at":"2016-07-29T00:11:07Z","updated_at":"2016-07-29T00:11:07Z","body":"It is not redirecting to the journal when run flatpak from a terminal."}}
{"actor":{"display_login":"matthiasclasen"}}