{"action":"created","issue":{"url":"https://api.github.com/repos/spartansystems/spartan_loggly_rsyslog-cookbook/issues/1","repository_url":"https://api.github.com/repos/spartansystems/spartan_loggly_rsyslog-cookbook","labels_url":"https://api.github.com/repos/spartansystems/spartan_loggly_rsyslog-cookbook/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/spartansystems/spartan_loggly_rsyslog-cookbook/issues/1/comments","events_url":"https://api.github.com/repos/spartansystems/spartan_loggly_rsyslog-cookbook/issues/1/events","html_url":"https://github.com/spartansystems/spartan_loggly_rsyslog-cookbook/issues/1","id":147566012,"number":1,"title":"Problem with log_dirs","user":{"login":"bilby91","id":2201079,"avatar_url":"https://avatars.githubusercontent.com/u/2201079?v=3","gravatar_id":"","url":"https://api.github.com/users/bilby91","html_url":"https://github.com/bilby91","followers_url":"https://api.github.com/users/bilby91/followers","following_url":"https://api.github.com/users/bilby91/following{/other_user}","gists_url":"https://api.github.com/users/bilby91/gists{/gist_id}","starred_url":"https://api.github.com/users/bilby91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bilby91/subscriptions","organizations_url":"https://api.github.com/users/bilby91/orgs","repos_url":"https://api.github.com/users/bilby91/repos","events_url":"https://api.github.com/users/bilby91/events{/privacy}","received_events_url":"https://api.github.com/users/bilby91/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-11T21:54:07Z","updated_at":"2016-04-12T19:39:18Z","closed_at":null,"body":"I can not make log_dirs option work. Is seems that @monitor_files is false always.\r\n\r\nNode\r\n```\r\n{\r\n  \"default_attributes\" : {\r\n    \"newrelic\" : {\r\n      \"server_monitoring\" : {\r\n        \"hostname\" : \"app\",\r\n        \"labels\" : \"app;\"\r\n      }\r\n    },\r\n    \"loggly\": {\r\n      \"log_dirs\": [\r\n        {\r\n          \"directory\": \"/var/www/app/shared/log\",\r\n          \"tag\": \"heraldo\"\r\n        }\r\n      ]\r\n    }\r\n  },\r\n  \"run_list\": [\r\n    \"role[logging]\"\r\n   ]\r\n}\r\n```\r\n\r\nLogging Role\r\n```\r\n{\r\n  \"name\" : \"Logging\",\r\n  \"chef_type\" : \"role\",\r\n  \"json_class\" : \"Chef::Role\",\r\n  \"default_attributes\" : {\r\n    \"loggly\": {\r\n      \"token\": {\r\n        \"from_databag\": false,\r\n        \"value\": \"XXXX\"\r\n      },\r\n      \"tls\": {\r\n        \"enabled\": false\r\n      }\r\n    }\r\n  },\r\n  \"run_list\" : [\r\n    \"recipe[spartan_loggly_rsyslog]\"\r\n  ]\r\n}\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/spartansystems/spartan_loggly_rsyslog-cookbook/issues/comments/209072293","html_url":"https://github.com/spartansystems/spartan_loggly_rsyslog-cookbook/issues/1#issuecomment-209072293","issue_url":"https://api.github.com/repos/spartansystems/spartan_loggly_rsyslog-cookbook/issues/1","id":209072293,"user":{"login":"squaresurf","id":863076,"avatar_url":"https://avatars.githubusercontent.com/u/863076?v=3","gravatar_id":"","url":"https://api.github.com/users/squaresurf","html_url":"https://github.com/squaresurf","followers_url":"https://api.github.com/users/squaresurf/followers","following_url":"https://api.github.com/users/squaresurf/following{/other_user}","gists_url":"https://api.github.com/users/squaresurf/gists{/gist_id}","starred_url":"https://api.github.com/users/squaresurf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/squaresurf/subscriptions","organizations_url":"https://api.github.com/users/squaresurf/orgs","repos_url":"https://api.github.com/users/squaresurf/repos","events_url":"https://api.github.com/users/squaresurf/events{/privacy}","received_events_url":"https://api.github.com/users/squaresurf/received_events","type":"User","site_admin":false},"created_at":"2016-04-12T19:39:18Z","updated_at":"2016-04-12T19:39:18Z","body":"Can you post your `22-loggly.conf` and the relevant `log_files` attributes?"}}