{"action":"created","issue":{"url":"https://api.github.com/repos/bloomberg/bcpc/issues/734","labels_url":"https://api.github.com/repos/bloomberg/bcpc/issues/734/labels{/name}","comments_url":"https://api.github.com/repos/bloomberg/bcpc/issues/734/comments","events_url":"https://api.github.com/repos/bloomberg/bcpc/issues/734/events","html_url":"https://github.com/bloomberg/bcpc/pull/734","id":97102428,"number":734,"title":"Keystone notification logging","user":{"login":"kamidzi","id":8375625,"avatar_url":"https://avatars.githubusercontent.com/u/8375625?v=3","gravatar_id":"","url":"https://api.github.com/users/kamidzi","html_url":"https://github.com/kamidzi","followers_url":"https://api.github.com/users/kamidzi/followers","following_url":"https://api.github.com/users/kamidzi/following{/other_user}","gists_url":"https://api.github.com/users/kamidzi/gists{/gist_id}","starred_url":"https://api.github.com/users/kamidzi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamidzi/subscriptions","organizations_url":"https://api.github.com/users/kamidzi/orgs","repos_url":"https://api.github.com/users/kamidzi/repos","events_url":"https://api.github.com/users/kamidzi/events{/privacy}","received_events_url":"https://api.github.com/users/kamidzi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-24T17:47:37Z","updated_at":"2015-07-30T14:09:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bloomberg/bcpc/pulls/734","html_url":"https://github.com/bloomberg/bcpc/pull/734","diff_url":"https://github.com/bloomberg/bcpc/pull/734.diff","patch_url":"https://github.com/bloomberg/bcpc/pull/734.patch"},"body":"Adds logging of keystone event notifications; by default, to local file."},"comment":{"url":"https://api.github.com/repos/bloomberg/bcpc/issues/comments/126341434","html_url":"https://github.com/bloomberg/bcpc/pull/734#issuecomment-126341434","issue_url":"https://api.github.com/repos/bloomberg/bcpc/issues/734","id":126341434,"user":{"login":"erhudy","id":1065271,"avatar_url":"https://avatars.githubusercontent.com/u/1065271?v=3","gravatar_id":"","url":"https://api.github.com/users/erhudy","html_url":"https://github.com/erhudy","followers_url":"https://api.github.com/users/erhudy/followers","following_url":"https://api.github.com/users/erhudy/following{/other_user}","gists_url":"https://api.github.com/users/erhudy/gists{/gist_id}","starred_url":"https://api.github.com/users/erhudy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erhudy/subscriptions","organizations_url":"https://api.github.com/users/erhudy/orgs","repos_url":"https://api.github.com/users/erhudy/repos","events_url":"https://api.github.com/users/erhudy/events{/privacy}","received_events_url":"https://api.github.com/users/erhudy/received_events","type":"User","site_admin":false},"created_at":"2015-07-30T14:09:43Z","updated_at":"2015-07-30T14:09:43Z","body":"Hit another problem after a fresh build, namely that `/var/log/keystone/keystone.log` gets created as owned by `root:root` somehow and Keystone won't start up. Looking into why it gets created with these permissions:\r\n```\r\n2015-07-30 10:02:40.754375 Traceback (most recent call last):\r\n2015-07-30 10:02:40.754393   File \"/var/www/cgi-bin/keystone/main\", line 25, in <module>\r\n2015-07-30 10:02:40.754450     application = wsgi_server.initialize_application(name)\r\n2015-07-30 10:02:40.754461   File \"/usr/lib/python2.7/dist-packages/keystone/server/wsgi.py\", line 38, in initialize_application\r\n2015-07-30 10:02:40.754498     common.configure()\r\n2015-07-30 10:02:40.754507   File \"/usr/lib/python2.7/dist-packages/keystone/server/common.py\", line 36, in configure\r\n2015-07-30 10:02:40.754545     config.setup_logging()\r\n2015-07-30 10:02:40.754554   File \"/usr/lib/python2.7/dist-packages/keystone/config.py\", line 56, in setup_logging\r\n2015-07-30 10:02:40.754594     log.setup(CONF, 'keystone')\r\n2015-07-30 10:02:40.754603   File \"/usr/lib/python2.7/dist-packages/oslo_log/log.py\", line 211, in setup\r\n2015-07-30 10:02:40.754695     _setup_logging_from_conf(conf, product_name, version)\r\n2015-07-30 10:02:40.754705   File \"/usr/lib/python2.7/dist-packages/oslo_log/log.py\", line 263, in _setup_logging_from_conf\r\n2015-07-30 10:02:40.754719     filelog = logging.handlers.WatchedFileHandler(logpath)\r\n2015-07-30 10:02:40.754725   File \"/usr/lib/python2.7/logging/handlers.py\", line 391, in __init__\r\n2015-07-30 10:02:40.754968     logging.FileHandler.__init__(self, filename, mode, encoding, delay)\r\n2015-07-30 10:02:40.754980   File \"/usr/lib/python2.7/logging/__init__.py\", line 903, in __init__\r\n2015-07-30 10:02:40.755288     StreamHandler.__init__(self, self._open())\r\n2015-07-30 10:02:40.755299   File \"/usr/lib/python2.7/logging/__init__.py\", line 928, in _open\r\n2015-07-30 10:02:40.755313     stream = open(self.baseFilename, self.mode)\r\n2015-07-30 10:02:40.755330 IOError: [Errno 13] Permission denied: '/var/log/keystone/keystone.log'\r\n```"}}