{"action":"created","issue":{"url":"https://api.github.com/repos/cvmfs/cvmfs/issues/1280","labels_url":"https://api.github.com/repos/cvmfs/cvmfs/issues/1280/labels{/name}","comments_url":"https://api.github.com/repos/cvmfs/cvmfs/issues/1280/comments","events_url":"https://api.github.com/repos/cvmfs/cvmfs/issues/1280/events","html_url":"https://github.com/cvmfs/cvmfs/pull/1280","id":121234805,"number":1280,"title":"Feature: CernVM-FS Server logs Events to Syslog","user":{"login":"reneme","id":1562139,"avatar_url":"https://avatars.githubusercontent.com/u/1562139?v=3","gravatar_id":"","url":"https://api.github.com/users/reneme","html_url":"https://github.com/reneme","followers_url":"https://api.github.com/users/reneme/followers","following_url":"https://api.github.com/users/reneme/following{/other_user}","gists_url":"https://api.github.com/users/reneme/gists{/gist_id}","starred_url":"https://api.github.com/users/reneme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reneme/subscriptions","organizations_url":"https://api.github.com/users/reneme/orgs","repos_url":"https://api.github.com/users/reneme/repos","events_url":"https://api.github.com/users/reneme/events{/privacy}","received_events_url":"https://api.github.com/users/reneme/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-12-09T13:11:28Z","updated_at":"2015-12-09T16:16:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cvmfs/cvmfs/pulls/1280","html_url":"https://github.com/cvmfs/cvmfs/pull/1280","diff_url":"https://github.com/cvmfs/cvmfs/pull/1280.diff","patch_url":"https://github.com/cvmfs/cvmfs/pull/1280.patch"},"body":"**Note:** This pull request will be amended with more messages. Opening it early to allow for discussion.\r\n\r\nThis adds several syslog messages for common CernVM-FS server actions as requested in [CVM-812](https://sft.its.cern.ch/jira/browse/CVM-812) and [CVM-861](https://sft.its.cern.ch/jira/browse/CVM-861)."},"comment":{"url":"https://api.github.com/repos/cvmfs/cvmfs/issues/comments/163310717","html_url":"https://github.com/cvmfs/cvmfs/pull/1280#issuecomment-163310717","issue_url":"https://api.github.com/repos/cvmfs/cvmfs/issues/1280","id":163310717,"user":{"login":"reneme","id":1562139,"avatar_url":"https://avatars.githubusercontent.com/u/1562139?v=3","gravatar_id":"","url":"https://api.github.com/users/reneme","html_url":"https://github.com/reneme","followers_url":"https://api.github.com/users/reneme/followers","following_url":"https://api.github.com/users/reneme/following{/other_user}","gists_url":"https://api.github.com/users/reneme/gists{/gist_id}","starred_url":"https://api.github.com/users/reneme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reneme/subscriptions","organizations_url":"https://api.github.com/users/reneme/orgs","repos_url":"https://api.github.com/users/reneme/repos","events_url":"https://api.github.com/users/reneme/events{/privacy}","received_events_url":"https://api.github.com/users/reneme/received_events","type":"User","site_admin":false},"created_at":"2015-12-09T16:16:37Z","updated_at":"2015-12-09T16:16:37Z","body":"Details:\r\n`cvmfs_server` now posts common server events to the syslog. For a detailed list of logged messages please refer to [CVM-812](https://sft.its.cern.ch/jira/browse/CVM-812). Furthermore this pull request contains some refactorings to facilitate the logging.\r\n\r\nNamely, I wrapped calls to `cvmfs_swissknife info` into `get_repo_info()` that now also conveniently hides the call to `get_follow_http_redirects_flag()`. And `cvmfs_server snapshot` has a new error handler `__snapshot_failed()` to distinguish between success and failure."}}