{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/22752","repository_url":"https://api.github.com/repos/NixOS/nixpkgs","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/22752/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/22752/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/22752/events","html_url":"https://github.com/NixOS/nixpkgs/pull/22752","id":207281029,"number":22752,"title":"syslog-ng: 3.6.2 -> 3.9.1","user":{"login":"basvandijk","id":576355,"avatar_url":"https://avatars.githubusercontent.com/u/576355?v=3","gravatar_id":"","url":"https://api.github.com/users/basvandijk","html_url":"https://github.com/basvandijk","followers_url":"https://api.github.com/users/basvandijk/followers","following_url":"https://api.github.com/users/basvandijk/following{/other_user}","gists_url":"https://api.github.com/users/basvandijk/gists{/gist_id}","starred_url":"https://api.github.com/users/basvandijk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basvandijk/subscriptions","organizations_url":"https://api.github.com/users/basvandijk/orgs","repos_url":"https://api.github.com/users/basvandijk/repos","events_url":"https://api.github.com/users/basvandijk/events{/privacy}","received_events_url":"https://api.github.com/users/basvandijk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-02-13T17:12:02Z","updated_at":"2017-02-13T17:12:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/22752","html_url":"https://github.com/NixOS/nixpkgs/pull/22752","diff_url":"https://github.com/NixOS/nixpkgs/pull/22752.diff","patch_url":"https://github.com/NixOS/nixpkgs/pull/22752.patch"},"body":"@fpletz this fixes https://github.com/NixOS/nixpkgs/issues/20153.\r\n\r\nSince syslog-ng is currently broken on 16.09 this should be cherry-picked on `release-16.09`.\r\n\r\nI tested it with the following configuration:\r\n\r\n```nix\r\n{\r\n  services.syslog-ng = {\r\n    enable = true;\r\n    extraConfig = ''\r\n      source s_network_tcp {\r\n        network (\r\n          ip(\"0.0.0.0\")\r\n          port(601)\r\n          transport(\"tcp\")\r\n        );\r\n      };\r\n     \r\n      destination d_devlog {\r\n        unix-dgram(\r\n          /dev/log\r\n          flags(syslog-protocol)\r\n        );\r\n      };\r\n     \r\n      log {\r\n        source(s_network_tcp);\r\n        destination(d_devlog);\r\n      };\r\n    '';\r\n  };\r\n}\r\n```\r\n\r\nIf I then log a message using:\r\n\r\n```\r\nlogger --server=localhost --tcp \"Hello World\"\r\n```\r\n\r\nI see the following in my `journalctl`:\r\n\r\n```\r\nFeb 13 18:07:15 bas.van.dijk.lumi syslog-ng[13387]: 1 2017-02-13T18:07:15+01:00 localhost 1 - - - 2017-02-13T18:07:15.0\r\n```"},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/279456742","html_url":"https://github.com/NixOS/nixpkgs/pull/22752#issuecomment-279456742","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/22752","id":279456742,"user":{"login":"mention-bot","id":15710697,"avatar_url":"https://avatars.githubusercontent.com/u/15710697?v=3","gravatar_id":"","url":"https://api.github.com/users/mention-bot","html_url":"https://github.com/mention-bot","followers_url":"https://api.github.com/users/mention-bot/followers","following_url":"https://api.github.com/users/mention-bot/following{/other_user}","gists_url":"https://api.github.com/users/mention-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/mention-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mention-bot/subscriptions","organizations_url":"https://api.github.com/users/mention-bot/orgs","repos_url":"https://api.github.com/users/mention-bot/repos","events_url":"https://api.github.com/users/mention-bot/events{/privacy}","received_events_url":"https://api.github.com/users/mention-bot/received_events","type":"User","site_admin":false},"created_at":"2017-02-13T17:12:04Z","updated_at":"2017-02-13T17:12:04Z","body":"@basvandijk, thanks for your PR! By analyzing the history of the files in this pull request, we identified @rickynils, @peti and @avnik to be potential reviewers."}}
{"actor":{"display_login":"mention-bot"}}