{"action":"created","issue":{"url":"https://api.github.com/repos/SimpleFinance/chef-zookeeper/issues/147","labels_url":"https://api.github.com/repos/SimpleFinance/chef-zookeeper/issues/147/labels{/name}","comments_url":"https://api.github.com/repos/SimpleFinance/chef-zookeeper/issues/147/comments","events_url":"https://api.github.com/repos/SimpleFinance/chef-zookeeper/issues/147/events","html_url":"https://github.com/SimpleFinance/chef-zookeeper/pull/147","id":104534506,"number":147,"title":"Creating the log directory on install","user":{"login":"adamb0mb","id":372235,"avatar_url":"https://avatars.githubusercontent.com/u/372235?v=3","gravatar_id":"","url":"https://api.github.com/users/adamb0mb","html_url":"https://github.com/adamb0mb","followers_url":"https://api.github.com/users/adamb0mb/followers","following_url":"https://api.github.com/users/adamb0mb/following{/other_user}","gists_url":"https://api.github.com/users/adamb0mb/gists{/gist_id}","starred_url":"https://api.github.com/users/adamb0mb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamb0mb/subscriptions","organizations_url":"https://api.github.com/users/adamb0mb/orgs","repos_url":"https://api.github.com/users/adamb0mb/repos","events_url":"https://api.github.com/users/adamb0mb/events{/privacy}","received_events_url":"https://api.github.com/users/adamb0mb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SimpleFinance/chef-zookeeper/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"jeffbyrnes","id":260553,"avatar_url":"https://avatars.githubusercontent.com/u/260553?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffbyrnes","html_url":"https://github.com/jeffbyrnes","followers_url":"https://api.github.com/users/jeffbyrnes/followers","following_url":"https://api.github.com/users/jeffbyrnes/following{/other_user}","gists_url":"https://api.github.com/users/jeffbyrnes/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffbyrnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffbyrnes/subscriptions","organizations_url":"https://api.github.com/users/jeffbyrnes/orgs","repos_url":"https://api.github.com/users/jeffbyrnes/repos","events_url":"https://api.github.com/users/jeffbyrnes/events{/privacy}","received_events_url":"https://api.github.com/users/jeffbyrnes/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-09-02T17:40:17Z","updated_at":"2015-09-08T17:24:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/SimpleFinance/chef-zookeeper/pulls/147","html_url":"https://github.com/SimpleFinance/chef-zookeeper/pull/147","diff_url":"https://github.com/SimpleFinance/chef-zookeeper/pull/147.diff","patch_url":"https://github.com/SimpleFinance/chef-zookeeper/pull/147.patch"},"body":"I was getting this error on zk startup:\r\n```\r\n[adamp@devzk02 ~]$ sudo service zookeeper start\r\nStarting zookeeper Server (zookeeper):                     [  OK  ]\r\nlog4j:ERROR setFile(null,true) call failed.\r\njava.io.FileNotFoundException: /var/log/zookeeper/zookeeper.log (No such file or directory)\r\n\tat java.io.FileOutputStream.open(Native Method)\r\n\tat java.io.FileOutputStream.<init>(FileOutputStream.java:221)\r\n\tat java.io.FileOutputStream.<init>(FileOutputStream.java:142)\r\n\tat org.apache.log4j.FileAppender.setFile(FileAppender.java:294)\r\n\tat org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:207)\r\n\tat org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165)\r\n\tat org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:307)\r\n\tat org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:172)\r\n\tat org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:104)\r\n\tat org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:809)\r\n\tat org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:735)\r\n\tat org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:615)\r\n\tat org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:502)\r\n\tat org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:547)\r\n\tat org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:483)\r\n\tat org.apache.log4j.LogManager.<clinit>(LogManager.java:127)\r\n\tat org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:73)\r\n\tat org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:242)\r\n\tat org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:254)\r\n\tat org.apache.zookeeper.server.quorum.QuorumPeerMain.<clinit>(QuorumPeerMain.java:64)\r\n```\r\n\r\nThis simply just creates that directory (in the model that other directories are being created)"},"comment":{"url":"https://api.github.com/repos/SimpleFinance/chef-zookeeper/issues/comments/138640468","html_url":"https://github.com/SimpleFinance/chef-zookeeper/pull/147#issuecomment-138640468","issue_url":"https://api.github.com/repos/SimpleFinance/chef-zookeeper/issues/147","id":138640468,"user":{"login":"adamb0mb","id":372235,"avatar_url":"https://avatars.githubusercontent.com/u/372235?v=3","gravatar_id":"","url":"https://api.github.com/users/adamb0mb","html_url":"https://github.com/adamb0mb","followers_url":"https://api.github.com/users/adamb0mb/followers","following_url":"https://api.github.com/users/adamb0mb/following{/other_user}","gists_url":"https://api.github.com/users/adamb0mb/gists{/gist_id}","starred_url":"https://api.github.com/users/adamb0mb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamb0mb/subscriptions","organizations_url":"https://api.github.com/users/adamb0mb/orgs","repos_url":"https://api.github.com/users/adamb0mb/repos","events_url":"https://api.github.com/users/adamb0mb/events{/privacy}","received_events_url":"https://api.github.com/users/adamb0mb/received_events","type":"User","site_admin":false},"created_at":"2015-09-08T17:24:14Z","updated_at":"2015-09-08T17:24:14Z","body":"Good catch! Thank you."}}