{"action":"created","issue":{"url":"https://api.github.com/repos/syncthing/syncthing/issues/3055","repository_url":"https://api.github.com/repos/syncthing/syncthing","labels_url":"https://api.github.com/repos/syncthing/syncthing/issues/3055/labels{/name}","comments_url":"https://api.github.com/repos/syncthing/syncthing/issues/3055/comments","events_url":"https://api.github.com/repos/syncthing/syncthing/issues/3055/events","html_url":"https://github.com/syncthing/syncthing/pull/3055","id":153638116,"number":3055,"title":"New file/folder modification log added","user":{"login":"nrm21","id":15898046,"avatar_url":"https://avatars.githubusercontent.com/u/15898046?v=3","gravatar_id":"","url":"https://api.github.com/users/nrm21","html_url":"https://github.com/nrm21","followers_url":"https://api.github.com/users/nrm21/followers","following_url":"https://api.github.com/users/nrm21/following{/other_user}","gists_url":"https://api.github.com/users/nrm21/gists{/gist_id}","starred_url":"https://api.github.com/users/nrm21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nrm21/subscriptions","organizations_url":"https://api.github.com/users/nrm21/orgs","repos_url":"https://api.github.com/users/nrm21/repos","events_url":"https://api.github.com/users/nrm21/events{/privacy}","received_events_url":"https://api.github.com/users/nrm21/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2016-05-08T06:00:34Z","updated_at":"2016-05-14T08:36:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/syncthing/syncthing/pulls/3055","html_url":"https://github.com/syncthing/syncthing/pull/3055","diff_url":"https://github.com/syncthing/syncthing/pull/3055.diff","patch_url":"https://github.com/syncthing/syncthing/pull/3055.patch"},"body":"### Purpose\r\n\r\nCurrently if a synced client makes a file change that clobbers or deletes data across all nodes, it can be hard to trace back to the offending client.  This can be troublesome if the event occurs repeatedly over time do to some external event that ST has no control over.\r\n\r\nThis feature adds a log file in the ST config dir called filemods.log.  This file contains a simple timestamped log entry of all file and folder changes (one per line) that were performed by THIS computer only (from local folder scan, not from network sync).  It purposefully IGNORES all file and folder changes made by other computers.\r\n\r\nIf desired, in later updates to the code a single \"global log\" of all changes could be made by merging the lines of text in each of these files if necessary.  However even now it makes it much easier for a human to trace what offending computer made a change be viewing each client's log individually.  There should be no duplicate logs since all clients record ONLY their own local changes.\r\n\r\n(Mostly) Satisfies issue #2860 \r\n\r\n### Testing\r\n\r\nCan be tested by adding deleting and changing files on this node and other nodes running same code.  Then checking each nodes 'filemods.log' to ensure that only changes that HE made are recorded."},"comment":{"url":"https://api.github.com/repos/syncthing/syncthing/issues/comments/219208374","html_url":"https://github.com/syncthing/syncthing/pull/3055#issuecomment-219208374","issue_url":"https://api.github.com/repos/syncthing/syncthing/issues/3055","id":219208374,"user":{"login":"calmh","id":125426,"avatar_url":"https://avatars.githubusercontent.com/u/125426?v=3","gravatar_id":"","url":"https://api.github.com/users/calmh","html_url":"https://github.com/calmh","followers_url":"https://api.github.com/users/calmh/followers","following_url":"https://api.github.com/users/calmh/following{/other_user}","gists_url":"https://api.github.com/users/calmh/gists{/gist_id}","starred_url":"https://api.github.com/users/calmh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calmh/subscriptions","organizations_url":"https://api.github.com/users/calmh/orgs","repos_url":"https://api.github.com/users/calmh/repos","events_url":"https://api.github.com/users/calmh/events{/privacy}","received_events_url":"https://api.github.com/users/calmh/received_events","type":"User","site_admin":false},"created_at":"2016-05-14T08:36:16Z","updated_at":"2016-05-14T08:36:16Z","body":"@st-review merge this now please"}}