{"action":"closed","issue":{"url":"https://api.github.com/repos/bloonix/awesant/issues/43","labels_url":"https://api.github.com/repos/bloonix/awesant/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/bloonix/awesant/issues/43/comments","events_url":"https://api.github.com/repos/bloonix/awesant/issues/43/events","html_url":"https://github.com/bloonix/awesant/issues/43","id":58184067,"number":43,"title":"Loosing data if filenames are identical but path different","user":{"login":"nv1t","id":1524118,"avatar_url":"https://avatars.githubusercontent.com/u/1524118?v=3","gravatar_id":"","url":"https://api.github.com/users/nv1t","html_url":"https://github.com/nv1t","followers_url":"https://api.github.com/users/nv1t/followers","following_url":"https://api.github.com/users/nv1t/following{/other_user}","gists_url":"https://api.github.com/users/nv1t/gists{/gist_id}","starred_url":"https://api.github.com/users/nv1t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nv1t/subscriptions","organizations_url":"https://api.github.com/users/nv1t/orgs","repos_url":"https://api.github.com/users/nv1t/repos","events_url":"https://api.github.com/users/nv1t/events{/privacy}","received_events_url":"https://api.github.com/users/nv1t/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-19T09:22:52Z","updated_at":"2015-03-11T16:49:18Z","closed_at":"2015-03-11T16:49:18Z","body":"There's a chance of loosing data of the basename of two files are identical, but the path isn't.\r\nThe (experimental) feature of saving positions only works for files with different names\r\n\r\nszenario:\r\n/var/log/apache2/site1/access.log\r\n/var/log/apache2/site2/access.log\r\n\r\nsave position file would be identical.\r\n\r\nProposal: Wouldn't it be better to use the inode as name? The inode should be unique and you can find the position file as well. Checks for rotation have to look different then."}}