{"action":"opened","issue":{"url":"https://api.github.com/repos/nyantec/rust-journald/issues/1","repository_url":"https://api.github.com/repos/nyantec/rust-journald","labels_url":"https://api.github.com/repos/nyantec/rust-journald/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/nyantec/rust-journald/issues/1/comments","events_url":"https://api.github.com/repos/nyantec/rust-journald/issues/1/events","html_url":"https://github.com/nyantec/rust-journald/issues/1","id":382244861,"node_id":"MDU6SXNzdWUzODIyNDQ4NjE=","number":1,"title":"Subscribing to new messages","user":{"login":"dbrgn","id":105168,"node_id":"MDQ6VXNlcjEwNTE2OA==","avatar_url":"https://avatars1.githubusercontent.com/u/105168?v=4","gravatar_id":"","url":"https://api.github.com/users/dbrgn","html_url":"https://github.com/dbrgn","followers_url":"https://api.github.com/users/dbrgn/followers","following_url":"https://api.github.com/users/dbrgn/following{/other_user}","gists_url":"https://api.github.com/users/dbrgn/gists{/gist_id}","starred_url":"https://api.github.com/users/dbrgn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbrgn/subscriptions","organizations_url":"https://api.github.com/users/dbrgn/orgs","repos_url":"https://api.github.com/users/dbrgn/repos","events_url":"https://api.github.com/users/dbrgn/events{/privacy}","received_events_url":"https://api.github.com/users/dbrgn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-19T14:41:14Z","updated_at":"2018-11-19T14:41:14Z","closed_at":null,"author_association":"NONE","body":"Hi, thanks for this crate! Are you aware of a way to subscribe to incoming journal messages without having to implement some kind of busy-waiting loop?\r\n\r\nMaybe systemd allows to create some kind of streaming socket that we could read asynchronously with Tokio?\r\n\r\nMy use case would be a small program that subscribes to the logs of a list of units and notifies the user if certain patterns are detected (e.g. log level or a regex match)."}}
{"actor":{"display_login":"dbrgn"}}