{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/logstash-forwarder/issues/270","labels_url":"https://api.github.com/repos/elastic/logstash-forwarder/issues/270/labels{/name}","comments_url":"https://api.github.com/repos/elastic/logstash-forwarder/issues/270/comments","events_url":"https://api.github.com/repos/elastic/logstash-forwarder/issues/270/events","html_url":"https://github.com/elastic/logstash-forwarder/issues/270","id":43736580,"number":270,"title":"registry rotation on Windows fails","user":{"login":"justmara","id":4157587,"avatar_url":"https://avatars.githubusercontent.com/u/4157587?v=3","gravatar_id":"","url":"https://api.github.com/users/justmara","html_url":"https://github.com/justmara","followers_url":"https://api.github.com/users/justmara/followers","following_url":"https://api.github.com/users/justmara/following{/other_user}","gists_url":"https://api.github.com/users/justmara/gists{/gist_id}","starred_url":"https://api.github.com/users/justmara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justmara/subscriptions","organizations_url":"https://api.github.com/users/justmara/orgs","repos_url":"https://api.github.com/users/justmara/repos","events_url":"https://api.github.com/users/justmara/events{/privacy}","received_events_url":"https://api.github.com/users/justmara/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2014-09-24T08:43:18Z","updated_at":"2015-04-09T12:15:25Z","closed_at":null,"body":"clean start of logstash-forwarder build from sources as of 23 sept shows this funny error:\r\n\r\n````\r\n2014/09/23 12:35:36.775917 Registrar: precessing 130 events\r\n2014/09/23 12:35:36.776917 registry rotate: rename of .logstash-forwarder to .logstash-forwarder.old - rename .logstash-forwarder .logstash-forwarder.old: The system cannot find the file specified.\r\n2014/09/23 12:35:36.777917 WARNING: (continuing) update of registry returned error: rename .logstash-forwarder .logstash-forwarder.old: The system cannot find the file specified.\r\n````\r\n\r\nAnd really there is no `.logstash-forwarder` file, BUT the `.logstash-forwarder.new` one.\r\nIf you manually create this file and start it again, you get new error:\r\n\r\n````\r\n2014/09/23 12:42:23.639208 Registrar: precessing 15 events\r\n2014/09/23 12:42:23.640208 registry rotate: rename of .logstash-forwarder to .logstash-forwarder.old - rename .logstash-forwarder .logstash-forwarder.old: The process cannot access the file because it is being used by another process.\r\n2014/09/23 12:42:23.640208 WARNING: (continuing) update of registry returned error: rename .logstash-forwarder .logstash-forwarder.old: The process cannot access the file because it is being used by another process.\r\n````\r\nReally? Another process? It is locked by forwarder itself!\r\nAnd both these error lines keeps spamming stdout every time new events in file found."},"comment":{"url":"https://api.github.com/repos/elastic/logstash-forwarder/issues/comments/91212293","html_url":"https://github.com/elastic/logstash-forwarder/issues/270#issuecomment-91212293","issue_url":"https://api.github.com/repos/elastic/logstash-forwarder/issues/270","id":91212293,"user":{"login":"huksley","id":1594349,"avatar_url":"https://avatars.githubusercontent.com/u/1594349?v=3","gravatar_id":"","url":"https://api.github.com/users/huksley","html_url":"https://github.com/huksley","followers_url":"https://api.github.com/users/huksley/followers","following_url":"https://api.github.com/users/huksley/following{/other_user}","gists_url":"https://api.github.com/users/huksley/gists{/gist_id}","starred_url":"https://api.github.com/users/huksley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huksley/subscriptions","organizations_url":"https://api.github.com/users/huksley/orgs","repos_url":"https://api.github.com/users/huksley/repos","events_url":"https://api.github.com/users/huksley/events{/privacy}","received_events_url":"https://api.github.com/users/huksley/received_events","type":"User","site_admin":false},"created_at":"2015-04-09T12:15:25Z","updated_at":"2015-04-09T12:15:25Z","body":"Having the same problem"}}