{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/10019","labels_url":"https://api.github.com/repos/ansible/ansible/issues/10019/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/10019/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/10019/events","html_url":"https://github.com/ansible/ansible/issues/10019","id":54572503,"number":10019,"title":"Feature request: send all logs to syslog ","user":{"login":"r1k0","id":238676,"avatar_url":"https://avatars.githubusercontent.com/u/238676?v=3","gravatar_id":"","url":"https://api.github.com/users/r1k0","html_url":"https://github.com/r1k0","followers_url":"https://api.github.com/users/r1k0/followers","following_url":"https://api.github.com/users/r1k0/following{/other_user}","gists_url":"https://api.github.com/users/r1k0/gists{/gist_id}","starred_url":"https://api.github.com/users/r1k0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r1k0/subscriptions","organizations_url":"https://api.github.com/users/r1k0/orgs","repos_url":"https://api.github.com/users/r1k0/repos","events_url":"https://api.github.com/users/r1k0/events{/privacy}","received_events_url":"https://api.github.com/users/r1k0/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-16T12:55:24Z","updated_at":"2015-01-16T16:15:27Z","closed_at":null,"body":"Hello,\r\n\r\n##### Issue Type:\r\n\r\nFeature request\r\n\r\n##### Ansible Version:\r\n\r\n1.8.2\r\n\r\n##### Environment:\r\n\r\nrunning from arch to a RH pool.\r\n\r\n##### Summary:\r\n\r\nAt work we manage hundreds (if not more) RH VMs with ansible.\r\nWe are several in the team to push changes. It happens that things break once in a while and we have no current way of tracking who did what since all users are runnign ansible from their machine.\r\n\r\nWe would love to have the possibility to send every ansible-playbook (and ansible too) run to syslog.\r\nWe have a syslog server in the network where we would like to send events to.\r\n\r\n##### Steps To Reproduce:\r\n\r\nnone\r\n\r\n##### Expected Results:\r\n\r\nuser should be able to send ansible stdout to syslog with info like:\r\n-  hostname, user, ip, command run and output.\r\n\r\n##### Actual Results:\r\n\r\nno syslog compatibility.\r\n\r\n\r\n\r\n\r\nthank you for the good work\r\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/70277312","html_url":"https://github.com/ansible/ansible/issues/10019#issuecomment-70277312","issue_url":"https://api.github.com/repos/ansible/ansible/issues/10019","id":70277312,"user":{"login":"bcoca","id":836171,"avatar_url":"https://avatars.githubusercontent.com/u/836171?v=3","gravatar_id":"","url":"https://api.github.com/users/bcoca","html_url":"https://github.com/bcoca","followers_url":"https://api.github.com/users/bcoca/followers","following_url":"https://api.github.com/users/bcoca/following{/other_user}","gists_url":"https://api.github.com/users/bcoca/gists{/gist_id}","starred_url":"https://api.github.com/users/bcoca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcoca/subscriptions","organizations_url":"https://api.github.com/users/bcoca/orgs","repos_url":"https://api.github.com/users/bcoca/repos","events_url":"https://api.github.com/users/bcoca/events{/privacy}","received_events_url":"https://api.github.com/users/bcoca/received_events","type":"User","site_admin":false},"created_at":"2015-01-16T16:15:27Z","updated_at":"2015-01-16T16:15:27Z","body":"are they running systemd? i forgot but ansible tries to log to the systemd journal if it exists, if not it uses syslog, you need to explicitly set no_log: true to avoid this."}}