{"action":"created","comment":{"url":"https://api.github.com/repos/borgbackup/borg/pulls/comments/59250015","id":59250015,"diff_hunk":"@@ -1288,13 +1317,13 @@ def _test_recreate_interrupt(self, change_args, interrupt_early):\n         if interrupt_early:\n             process_files = 0\n         with patch.object(ArchiveRecreater, 'process_item', self._recreate_interrupt_patch(process_files)):\n-            self.cmd('recreate', '-sv', '--list', self.repository_location, 'input/dir2')\n+            self.cmd('recreate', '-s', '--list', self.repository_location, 'input/dir2')\n         assert 'test.recreate' in self.cmd('list', self.repository_location)\n         if change_args:\n             with patch.object(sys, 'argv', sys.argv + ['non-forking tests don\\'t use sys.argv']):\n-                output = self.cmd('recreate', '-sv', '--list', '-pC', 'lz4', self.repository_location, 'input/dir2')\n+                output = self.cmd('recreate', '-s', '--list', '-pC', 'lz4', self.repository_location, 'input/dir2')\n         else:\n-            output = self.cmd('recreate', '-sv', '--list', self.repository_location, 'input/dir2')\n+            output = self.cmd('recreate', '-s', '--list', self.repository_location, 'input/dir2')","path":"borg/testsuite/archiver.py","position":123,"original_position":123,"commit_id":"9cafc754ae0a2c60e44e07fc7e60c296e6a4adfa","original_commit_id":"9cafc754ae0a2c60e44e07fc7e60c296e6a4adfa","user":{"login":"enkore","id":1330164,"avatar_url":"https://avatars.githubusercontent.com/u/1330164?v=3","gravatar_id":"","url":"https://api.github.com/users/enkore","html_url":"https://github.com/enkore","followers_url":"https://api.github.com/users/enkore/followers","following_url":"https://api.github.com/users/enkore/following{/other_user}","gists_url":"https://api.github.com/users/enkore/gists{/gist_id}","starred_url":"https://api.github.com/users/enkore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enkore/subscriptions","organizations_url":"https://api.github.com/users/enkore/orgs","repos_url":"https://api.github.com/users/enkore/repos","events_url":"https://api.github.com/users/enkore/events{/privacy}","received_events_url":"https://api.github.com/users/enkore/received_events","type":"User","site_admin":false},"body":"this one needs reverting","created_at":"2016-04-11T17:53:55Z","updated_at":"2016-04-11T17:53:55Z","html_url":"https://github.com/borgbackup/borg/pull/865#discussion_r59250015","pull_request_url":"https://api.github.com/repos/borgbackup/borg/pulls/865","_links":{"self":{"href":"https://api.github.com/repos/borgbackup/borg/pulls/comments/59250015"},"html":{"href":"https://github.com/borgbackup/borg/pull/865#discussion_r59250015"},"pull_request":{"href":"https://api.github.com/repos/borgbackup/borg/pulls/865"}}},"pull_request":{"url":"https://api.github.com/repos/borgbackup/borg/pulls/865","id":65866998,"html_url":"https://github.com/borgbackup/borg/pull/865","diff_url":"https://github.com/borgbackup/borg/pull/865.diff","patch_url":"https://github.com/borgbackup/borg/pull/865.patch","issue_url":"https://api.github.com/repos/borgbackup/borg/issues/865","number":865,"state":"open","locked":false,"title":"Print --list output (only) without requiring --info","user":{"login":"edgewood","id":60952,"avatar_url":"https://avatars.githubusercontent.com/u/60952?v=3","gravatar_id":"","url":"https://api.github.com/users/edgewood","html_url":"https://github.com/edgewood","followers_url":"https://api.github.com/users/edgewood/followers","following_url":"https://api.github.com/users/edgewood/following{/other_user}","gists_url":"https://api.github.com/users/edgewood/gists{/gist_id}","starred_url":"https://api.github.com/users/edgewood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edgewood/subscriptions","organizations_url":"https://api.github.com/users/edgewood/orgs","repos_url":"https://api.github.com/users/edgewood/repos","events_url":"https://api.github.com/users/edgewood/events{/privacy}","received_events_url":"https://api.github.com/users/edgewood/received_events","type":"User","site_admin":false},"body":"There are persistent questions why --list output doesn't show up, and borg currently isn't able to show *just* the list output.  The solution is to use a more granular child logger, so that list output only goes to the borg.archiver.list child logger.  That logger can then be configured separately from the parent loggers.\r\n\r\nThe .list child logger can also be used as a hook in a BORG_LOGGING_CONF config file to log the list output to a separate file (this is my main motivation), or send it to a network socket where some daemon could analyze it.\r\n\r\nWhat I did:\r\n- add an accessor to LazyLogger to call the real logger's getChild()\r\n- log --list output using child logger .list\r\n- if --list is passed, change child logger .list (only) to log at INFO level\r\n\r\nThis is a proof of concept for adding similar code for all of the options that imply that they produce output, but don't if you don't add --info.  I'll make similar changes for those options, create tests, and update the documentation if this approach is acceptable.","created_at":"2016-04-09T01:42:09Z","updated_at":"2016-04-11T17:53:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d621920d46f612aa38196d18650618c4e0a0e977","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/borgbackup/borg/pulls/865/commits","review_comments_url":"https://api.github.com/repos/borgbackup/borg/pulls/865/comments","review_comment_url":"https://api.github.com/repos/borgbackup/borg/pulls/comments{/number}","comments_url":"https://api.github.com/repos/borgbackup/borg/issues/865/comments","statuses_url":"https://api.github.com/repos/borgbackup/borg/statuses/9cafc754ae0a2c60e44e07fc7e60c296e6a4adfa","head":{"label":"edgewood:master","ref":"master","sha":"9cafc754ae0a2c60e44e07fc7e60c296e6a4adfa","user":{"login":"edgewood","id":60952,"avatar_url":"https://avatars.githubusercontent.com/u/60952?v=3","gravatar_id":"","url":"https://api.github.com/users/edgewood","html_url":"https://github.com/edgewood","followers_url":"https://api.github.com/users/edgewood/followers","following_url":"https://api.github.com/users/edgewood/following{/other_user}","gists_url":"https://api.github.com/users/edgewood/gists{/gist_id}","starred_url":"https://api.github.com/users/edgewood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edgewood/subscriptions","organizations_url":"https://api.github.com/users/edgewood/orgs","repos_url":"https://api.github.com/users/edgewood/repos","events_url":"https://api.github.com/users/edgewood/events{/privacy}","received_events_url":"https://api.github.com/users/edgewood/received_events","type":"User","site_admin":false},"repo":{"id":41613568,"name":"borg","full_name":"edgewood/borg","owner":{"login":"edgewood","id":60952,"avatar_url":"https://avatars.githubusercontent.com/u/60952?v=3","gravatar_id":"","url":"https://api.github.com/users/edgewood","html_url":"https://github.com/edgewood","followers_url":"https://api.github.com/users/edgewood/followers","following_url":"https://api.github.com/users/edgewood/following{/other_user}","gists_url":"https://api.github.com/users/edgewood/gists{/gist_id}","starred_url":"https://api.github.com/users/edgewood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edgewood/subscriptions","organizations_url":"https://api.github.com/users/edgewood/orgs","repos_url":"https://api.github.com/users/edgewood/repos","events_url":"https://api.github.com/users/edgewood/events{/privacy}","received_events_url":"https://api.github.com/users/edgewood/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/edgewood/borg","description":"Deduplicating backup program with compression and authenticated encryption.","fork":true,"url":"https://api.github.com/repos/edgewood/borg","forks_url":"https://api.github.com/repos/edgewood/borg/forks","keys_url":"https://api.github.com/repos/edgewood/borg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edgewood/borg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edgewood/borg/teams","hooks_url":"https://api.github.com/repos/edgewood/borg/hooks","issue_events_url":"https://api.github.com/repos/edgewood/borg/issues/events{/number}","events_url":"https://api.github.com/repos/edgewood/borg/events","assignees_url":"https://api.github.com/repos/edgewood/borg/assignees{/user}","branches_url":"https://api.github.com/repos/edgewood/borg/branches{/branch}","tags_url":"https://api.github.com/repos/edgewood/borg/tags","blobs_url":"https://api.github.com/repos/edgewood/borg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edgewood/borg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edgewood/borg/git/refs{/sha}","trees_url":"https://api.github.com/repos/edgewood/borg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edgewood/borg/statuses/{sha}","languages_url":"https://api.github.com/repos/edgewood/borg/languages","stargazers_url":"https://api.github.com/repos/edgewood/borg/stargazers","contributors_url":"https://api.github.com/repos/edgewood/borg/contributors","subscribers_url":"https://api.github.com/repos/edgewood/borg/subscribers","subscription_url":"https://api.github.com/repos/edgewood/borg/subscription","commits_url":"https://api.github.com/repos/edgewood/borg/commits{/sha}","git_commits_url":"https://api.github.com/repos/edgewood/borg/git/commits{/sha}","comments_url":"https://api.github.com/repos/edgewood/borg/comments{/number}","issue_comment_url":"https://api.github.com/repos/edgewood/borg/issues/comments{/number}","contents_url":"https://api.github.com/repos/edgewood/borg/contents/{+path}","compare_url":"https://api.github.com/repos/edgewood/borg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edgewood/borg/merges","archive_url":"https://api.github.com/repos/edgewood/borg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edgewood/borg/downloads","issues_url":"https://api.github.com/repos/edgewood/borg/issues{/number}","pulls_url":"https://api.github.com/repos/edgewood/borg/pulls{/number}","milestones_url":"https://api.github.com/repos/edgewood/borg/milestones{/number}","notifications_url":"https://api.github.com/repos/edgewood/borg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edgewood/borg/labels{/name}","releases_url":"https://api.github.com/repos/edgewood/borg/releases{/id}","deployments_url":"https://api.github.com/repos/edgewood/borg/deployments","created_at":"2015-08-30T02:04:16Z","updated_at":"2016-03-29T16:41:08Z","pushed_at":"2016-04-11T16:43:44Z","git_url":"git://github.com/edgewood/borg.git","ssh_url":"git@github.com:edgewood/borg.git","clone_url":"https://github.com/edgewood/borg.git","svn_url":"https://github.com/edgewood/borg","homepage":"https://borgbackup.github.io/","size":3397,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"borgbackup:master","ref":"master","sha":"f8be0cf14c8f76b87758c39a16779c3ab08da79e","user":{"login":"borgbackup","id":12418060,"avatar_url":"https://avatars.githubusercontent.com/u/12418060?v=3","gravatar_id":"","url":"https://api.github.com/users/borgbackup","html_url":"https://github.com/borgbackup","followers_url":"https://api.github.com/users/borgbackup/followers","following_url":"https://api.github.com/users/borgbackup/following{/other_user}","gists_url":"https://api.github.com/users/borgbackup/gists{/gist_id}","starred_url":"https://api.github.com/users/borgbackup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borgbackup/subscriptions","organizations_url":"https://api.github.com/users/borgbackup/orgs","repos_url":"https://api.github.com/users/borgbackup/repos","events_url":"https://api.github.com/users/borgbackup/events{/privacy}","received_events_url":"https://api.github.com/users/borgbackup/received_events","type":"Organization","site_admin":false},"repo":{"id":35517126,"name":"borg","full_name":"borgbackup/borg","owner":{"login":"borgbackup","id":12418060,"avatar_url":"https://avatars.githubusercontent.com/u/12418060?v=3","gravatar_id":"","url":"https://api.github.com/users/borgbackup","html_url":"https://github.com/borgbackup","followers_url":"https://api.github.com/users/borgbackup/followers","following_url":"https://api.github.com/users/borgbackup/following{/other_user}","gists_url":"https://api.github.com/users/borgbackup/gists{/gist_id}","starred_url":"https://api.github.com/users/borgbackup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borgbackup/subscriptions","organizations_url":"https://api.github.com/users/borgbackup/orgs","repos_url":"https://api.github.com/users/borgbackup/repos","events_url":"https://api.github.com/users/borgbackup/events{/privacy}","received_events_url":"https://api.github.com/users/borgbackup/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/borgbackup/borg","description":"Deduplicating backup program with compression and authenticated encryption.","fork":false,"url":"https://api.github.com/repos/borgbackup/borg","forks_url":"https://api.github.com/repos/borgbackup/borg/forks","keys_url":"https://api.github.com/repos/borgbackup/borg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/borgbackup/borg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/borgbackup/borg/teams","hooks_url":"https://api.github.com/repos/borgbackup/borg/hooks","issue_events_url":"https://api.github.com/repos/borgbackup/borg/issues/events{/number}","events_url":"https://api.github.com/repos/borgbackup/borg/events","assignees_url":"https://api.github.com/repos/borgbackup/borg/assignees{/user}","branches_url":"https://api.github.com/repos/borgbackup/borg/branches{/branch}","tags_url":"https://api.github.com/repos/borgbackup/borg/tags","blobs_url":"https://api.github.com/repos/borgbackup/borg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/borgbackup/borg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/borgbackup/borg/git/refs{/sha}","trees_url":"https://api.github.com/repos/borgbackup/borg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/borgbackup/borg/statuses/{sha}","languages_url":"https://api.github.com/repos/borgbackup/borg/languages","stargazers_url":"https://api.github.com/repos/borgbackup/borg/stargazers","contributors_url":"https://api.github.com/repos/borgbackup/borg/contributors","subscribers_url":"https://api.github.com/repos/borgbackup/borg/subscribers","subscription_url":"https://api.github.com/repos/borgbackup/borg/subscription","commits_url":"https://api.github.com/repos/borgbackup/borg/commits{/sha}","git_commits_url":"https://api.github.com/repos/borgbackup/borg/git/commits{/sha}","comments_url":"https://api.github.com/repos/borgbackup/borg/comments{/number}","issue_comment_url":"https://api.github.com/repos/borgbackup/borg/issues/comments{/number}","contents_url":"https://api.github.com/repos/borgbackup/borg/contents/{+path}","compare_url":"https://api.github.com/repos/borgbackup/borg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/borgbackup/borg/merges","archive_url":"https://api.github.com/repos/borgbackup/borg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/borgbackup/borg/downloads","issues_url":"https://api.github.com/repos/borgbackup/borg/issues{/number}","pulls_url":"https://api.github.com/repos/borgbackup/borg/pulls{/number}","milestones_url":"https://api.github.com/repos/borgbackup/borg/milestones{/number}","notifications_url":"https://api.github.com/repos/borgbackup/borg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/borgbackup/borg/labels{/name}","releases_url":"https://api.github.com/repos/borgbackup/borg/releases{/id}","deployments_url":"https://api.github.com/repos/borgbackup/borg/deployments","created_at":"2015-05-12T23:10:47Z","updated_at":"2016-04-11T16:57:38Z","pushed_at":"2016-04-11T16:43:44Z","git_url":"git://github.com/borgbackup/borg.git","ssh_url":"git@github.com:borgbackup/borg.git","clone_url":"https://github.com/borgbackup/borg.git","svn_url":"https://github.com/borgbackup/borg","homepage":"https://borgbackup.github.io/","size":3644,"stargazers_count":1057,"watchers_count":1057,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":84,"mirror_url":null,"open_issues_count":117,"forks":84,"open_issues":117,"watchers":1057,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/borgbackup/borg/pulls/865"},"html":{"href":"https://github.com/borgbackup/borg/pull/865"},"issue":{"href":"https://api.github.com/repos/borgbackup/borg/issues/865"},"comments":{"href":"https://api.github.com/repos/borgbackup/borg/issues/865/comments"},"review_comments":{"href":"https://api.github.com/repos/borgbackup/borg/pulls/865/comments"},"review_comment":{"href":"https://api.github.com/repos/borgbackup/borg/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/borgbackup/borg/pulls/865/commits"},"statuses":{"href":"https://api.github.com/repos/borgbackup/borg/statuses/9cafc754ae0a2c60e44e07fc7e60c296e6a4adfa"}}}}