{"action":"opened","issue":{"url":"https://api.github.com/repos/python-diamond/Diamond/issues/51","labels_url":"https://api.github.com/repos/python-diamond/Diamond/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/python-diamond/Diamond/issues/51/comments","events_url":"https://api.github.com/repos/python-diamond/Diamond/issues/51/events","html_url":"https://github.com/python-diamond/Diamond/issues/51","id":53323675,"number":51,"title":"handler config in root config file does not work in 4.0","user":{"login":"hvnsweeting","id":1000665,"avatar_url":"https://avatars.githubusercontent.com/u/1000665?v=3","gravatar_id":"","url":"https://api.github.com/users/hvnsweeting","html_url":"https://github.com/hvnsweeting","followers_url":"https://api.github.com/users/hvnsweeting/followers","following_url":"https://api.github.com/users/hvnsweeting/following{/other_user}","gists_url":"https://api.github.com/users/hvnsweeting/gists{/gist_id}","starred_url":"https://api.github.com/users/hvnsweeting/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hvnsweeting/subscriptions","organizations_url":"https://api.github.com/users/hvnsweeting/orgs","repos_url":"https://api.github.com/users/hvnsweeting/repos","events_url":"https://api.github.com/users/hvnsweeting/events{/privacy}","received_events_url":"https://api.github.com/users/hvnsweeting/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-04T03:23:02Z","updated_at":"2015-01-04T03:23:02Z","closed_at":null,"body":"I upgraded my diamond to 4.0 but the config for handler in /etc/diamond/diamond.conf didn't work anymore. It used to work with 3.x.\r\n\r\nEven I created /etc/diamond/handlers/ArchiveHandler.conf, diamond does not use it:\r\n\r\n````\r\n# cat /etc/diamond/handlers/ArchiveHandler.conf\r\n[ArchiveHandler]\r\nlog_file = /var/cache/salt/minion/diamond.archive.log\r\n\r\n````\r\n\r\nlog\r\n````\r\nJan  4 10:21:01 integration-ubuntu diamond[30607] ERROR diamond diamond.main:299 Unhandled exception: [Errno 21] Is a directory: '/'\r\n\r\n````\r\n\r\nbecause it use the default path \"\", which turned to \"/\" by logging module code:\r\n\r\n````\r\nIn [5]: os.path.abspath('')\r\nOut[5]: '/'\r\n````.\r\n\r\nCould you please provide a working example for handler config. Thanks"}}