{"action":"created","issue":{"url":"https://api.github.com/repos/Scribery/tlog/issues/221","repository_url":"https://api.github.com/repos/Scribery/tlog","labels_url":"https://api.github.com/repos/Scribery/tlog/issues/221/labels{/name}","comments_url":"https://api.github.com/repos/Scribery/tlog/issues/221/comments","events_url":"https://api.github.com/repos/Scribery/tlog/issues/221/events","html_url":"https://github.com/Scribery/tlog/issues/221","id":374971832,"node_id":"MDU6SXNzdWUzNzQ5NzE4MzI=","number":221,"title":"Ubuntu 14.04 - No such file or directory when using tlog-rec-session","user":{"login":"mdpi-symfony","id":4981692,"node_id":"MDQ6VXNlcjQ5ODE2OTI=","avatar_url":"https://avatars3.githubusercontent.com/u/4981692?v=4","gravatar_id":"","url":"https://api.github.com/users/mdpi-symfony","html_url":"https://github.com/mdpi-symfony","followers_url":"https://api.github.com/users/mdpi-symfony/followers","following_url":"https://api.github.com/users/mdpi-symfony/following{/other_user}","gists_url":"https://api.github.com/users/mdpi-symfony/gists{/gist_id}","starred_url":"https://api.github.com/users/mdpi-symfony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdpi-symfony/subscriptions","organizations_url":"https://api.github.com/users/mdpi-symfony/orgs","repos_url":"https://api.github.com/users/mdpi-symfony/repos","events_url":"https://api.github.com/users/mdpi-symfony/events{/privacy}","received_events_url":"https://api.github.com/users/mdpi-symfony/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-10-29T11:29:17Z","updated_at":"2018-10-30T08:38:58Z","closed_at":null,"author_association":"NONE","body":"When logging in over SSH and using /usr/bin/tlog-rec-session, the session is closed with this message:\r\n\r\nNo such file or directory\r\nFailed logging terminal data\r\nFailed transferring TTY data\r\nConnection to xxx.yyy.com closed.\r\n\r\nMy config is very basic:\r\n\r\n```\r\n{\r\n    \"log\": {\r\n        \"input\" : false,\r\n        \"output\" : true,\r\n        \"window\" : true\r\n    },\r\n\r\n    \"limit\": {\r\n    },\r\n\r\n    \"file\": {\r\n    },\r\n\r\n    \"syslog\": {\r\n    },\r\n\r\n    \"journal\": {\r\n        \"priority\" : \"info\",\r\n        \"augment\" : true\r\n    },\r\n\r\n    \"writer\" : \"journal\"\r\n}\r\n```\r\n\r\nWhile trying this: `tlog-rec --writer=journal \"aa\"`, the same happens:\r\n\r\n```\r\nNo such file or directory\r\nFailed executing aa\r\n\r\nNo such file or directory\r\nFailed flushing the log\r\nFailed transferring TTY data\r\n```"},"comment":{"url":"https://api.github.com/repos/Scribery/tlog/issues/comments/434215358","html_url":"https://github.com/Scribery/tlog/issues/221#issuecomment-434215358","issue_url":"https://api.github.com/repos/Scribery/tlog/issues/221","id":434215358,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNDIxNTM1OA==","user":{"login":"spbnick","id":549246,"node_id":"MDQ6VXNlcjU0OTI0Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/549246?v=4","gravatar_id":"","url":"https://api.github.com/users/spbnick","html_url":"https://github.com/spbnick","followers_url":"https://api.github.com/users/spbnick/followers","following_url":"https://api.github.com/users/spbnick/following{/other_user}","gists_url":"https://api.github.com/users/spbnick/gists{/gist_id}","starred_url":"https://api.github.com/users/spbnick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spbnick/subscriptions","organizations_url":"https://api.github.com/users/spbnick/orgs","repos_url":"https://api.github.com/users/spbnick/repos","events_url":"https://api.github.com/users/spbnick/events{/privacy}","received_events_url":"https://api.github.com/users/spbnick/received_events","type":"User","site_admin":false},"created_at":"2018-10-30T08:38:58Z","updated_at":"2018-10-30T08:38:58Z","author_association":"MEMBER","body":"OK, I tested this myself, and the answer is simple: Ubuntu 14.04 doesn't use systemd nor journal (even though it has libsystemd-journal package). If you would like to use tlog for logging to journal, you'll need to use a version of Ubuntu which has it. Otherwise you'll need to log to syslog or a file."}}
{"actor":{"display_login":"spbnick"}}