{"action":"created","comment":{"url":"https://api.github.com/repos/qbittorrent/qBittorrent/pulls/comments/51624627","id":51624627,"diff_hunk":"@@ -465,6 +477,7 @@ void Application::cleanup()\n     Net::DownloadManager::freeInstance();\n     Preferences::freeInstance();\n     Logger::freeInstance();\n+    delete m_fileLogger;","path":"src/app/application.cpp","position":34,"original_position":34,"commit_id":"34c16f5b73416d8f392d4039be2ace230f6b100c","original_commit_id":"34c16f5b73416d8f392d4039be2ace230f6b100c","user":{"login":"sledgehammer999","id":273315,"avatar_url":"https://avatars.githubusercontent.com/u/273315?v=3","gravatar_id":"","url":"https://api.github.com/users/sledgehammer999","html_url":"https://github.com/sledgehammer999","followers_url":"https://api.github.com/users/sledgehammer999/followers","following_url":"https://api.github.com/users/sledgehammer999/following{/other_user}","gists_url":"https://api.github.com/users/sledgehammer999/gists{/gist_id}","starred_url":"https://api.github.com/users/sledgehammer999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sledgehammer999/subscriptions","organizations_url":"https://api.github.com/users/sledgehammer999/orgs","repos_url":"https://api.github.com/users/sledgehammer999/repos","events_url":"https://api.github.com/users/sledgehammer999/events{/privacy}","received_events_url":"https://api.github.com/users/sledgehammer999/received_events","type":"User","site_admin":false},"body":"ok","created_at":"2016-02-02T19:51:38Z","updated_at":"2016-02-02T19:51:38Z","html_url":"https://github.com/qbittorrent/qBittorrent/pull/4681#discussion_r51624627","pull_request_url":"https://api.github.com/repos/qbittorrent/qBittorrent/pulls/4681","_links":{"self":{"href":"https://api.github.com/repos/qbittorrent/qBittorrent/pulls/comments/51624627"},"html":{"href":"https://github.com/qbittorrent/qBittorrent/pull/4681#discussion_r51624627"},"pull_request":{"href":"https://api.github.com/repos/qbittorrent/qBittorrent/pulls/4681"}}},"pull_request":{"url":"https://api.github.com/repos/qbittorrent/qBittorrent/pulls/4681","id":57017306,"html_url":"https://github.com/qbittorrent/qBittorrent/pull/4681","diff_url":"https://github.com/qbittorrent/qBittorrent/pull/4681.diff","patch_url":"https://github.com/qbittorrent/qBittorrent/pull/4681.patch","issue_url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/4681","number":4681,"state":"open","locked":false,"title":"Log improvements","user":{"login":"sledgehammer999","id":273315,"avatar_url":"https://avatars.githubusercontent.com/u/273315?v=3","gravatar_id":"","url":"https://api.github.com/users/sledgehammer999","html_url":"https://github.com/sledgehammer999","followers_url":"https://api.github.com/users/sledgehammer999/followers","following_url":"https://api.github.com/users/sledgehammer999/following{/other_user}","gists_url":"https://api.github.com/users/sledgehammer999/gists{/gist_id}","starred_url":"https://api.github.com/users/sledgehammer999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sledgehammer999/subscriptions","organizations_url":"https://api.github.com/users/sledgehammer999/orgs","repos_url":"https://api.github.com/users/sledgehammer999/repos","events_url":"https://api.github.com/users/sledgehammer999/events{/privacy}","received_events_url":"https://api.github.com/users/sledgehammer999/received_events","type":"User","site_admin":false},"body":"1. Now the UI log can filter events\r\n![log-menu](https://cloud.githubusercontent.com/assets/273315/12539687/18493c2a-c301-11e5-9c9e-68b77444e040.jpg)\r\n\r\n2. Now there is the possibility to save the logs to disk\r\n![log-conf](https://cloud.githubusercontent.com/assets/273315/12539691/2ba1b00e-c301-11e5-8a22-81b360d103c0.jpg)\r\n\r\nSample file output:\r\n```\r\n(N) 2016-01-25T01:00:25 - qBittorrent v3.4.0alpha started\r\n(I) 2016-01-25T01:00:25 - qBittorrent is trying to listen on any interface port: 7777\r\n(N) 2016-01-25T01:00:25 - Peer ID: -qB3400-\r\n(N) 2016-01-25T01:00:25 - HTTP User-Agent is 'qBittorrent v3.4.0alpha'\r\n(I) 2016-01-25T01:00:25 - Anonymous mode [OFF]\r\n(I) 2016-01-25T01:00:25 - DHT support [ON]\r\n(I) 2016-01-25T01:00:25 - PeX support [ON]\r\n(I) 2016-01-25T01:00:25 - Local Peer Discovery support [ON]\r\n(I) 2016-01-25T01:00:25 - Encryption support [ON]\r\n(N) 2016-01-25T01:00:25 - Embedded Tracker [OFF]\r\n(I) 2016-01-25T01:00:25 - UPnP / NAT-PMP support [ON]\r\n(I) 2016-01-25T01:00:25 - GeoIP database loaded. Type: GeoLite2-Country. Build time: Τρι Ιαν 5 21:35:34 2016.\r\n(N) 2016-01-25T01:00:25 - The Web UI is listening on port 30077\r\n(N) 2016-01-25T01:00:25 - Options were saved successfully.\r\n(I) 2016-01-25T01:00:27 - qBittorrent is successfully listening on interface 0.0.0.0 port: TCP/7777\r\n(I) 2016-01-25T01:00:27 - qBittorrent is successfully listening on interface 0.0.0.0 port: TCP_SSL/4433\r\n(I) 2016-01-25T01:00:27 - qBittorrent is successfully listening on interface :: port: TCP/7777\r\n(I) 2016-01-25T01:00:27 - qBittorrent is successfully listening on interface :: port: TCP_SSL/4433\r\n(I) 2016-01-25T01:00:27 - qBittorrent is successfully listening on interface 0.0.0.0 port: UDP/7777\r\n(I) 2016-01-25T01:00:27 - qBittorrent is successfully listening on interface 0.0.0.0 port: TCP/7777\r\n(I) 2016-01-25T01:00:27 - qBittorrent is successfully listening on interface :: port: TCP/7777\r\n(I) 2016-01-25T01:00:27 - qBittorrent is successfully listening on interface 0.0.0.0 port: UDP/7777\r\n(W) 2016-01-25T01:00:29 - Couldn't download favicon for URL 'http://nyaatorrents.info/favicon.ico'. Reason: The remote host name was not found (invalid hostname)\r\n```","created_at":"2016-01-24T23:18:30Z","updated_at":"2016-02-02T19:51:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"34079c32612de8c021b54f837ec6444076327db1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/qbittorrent/qBittorrent/pulls/4681/commits","review_comments_url":"https://api.github.com/repos/qbittorrent/qBittorrent/pulls/4681/comments","review_comment_url":"https://api.github.com/repos/qbittorrent/qBittorrent/pulls/comments{/number}","comments_url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/4681/comments","statuses_url":"https://api.github.com/repos/qbittorrent/qBittorrent/statuses/34c16f5b73416d8f392d4039be2ace230f6b100c","head":{"label":"sledgehammer999:log_improv","ref":"log_improv","sha":"34c16f5b73416d8f392d4039be2ace230f6b100c","user":{"login":"sledgehammer999","id":273315,"avatar_url":"https://avatars.githubusercontent.com/u/273315?v=3","gravatar_id":"","url":"https://api.github.com/users/sledgehammer999","html_url":"https://github.com/sledgehammer999","followers_url":"https://api.github.com/users/sledgehammer999/followers","following_url":"https://api.github.com/users/sledgehammer999/following{/other_user}","gists_url":"https://api.github.com/users/sledgehammer999/gists{/gist_id}","starred_url":"https://api.github.com/users/sledgehammer999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sledgehammer999/subscriptions","organizations_url":"https://api.github.com/users/sledgehammer999/orgs","repos_url":"https://api.github.com/users/sledgehammer999/repos","events_url":"https://api.github.com/users/sledgehammer999/events{/privacy}","received_events_url":"https://api.github.com/users/sledgehammer999/received_events","type":"User","site_admin":false},"repo":{"id":5818634,"name":"qBittorrent","full_name":"sledgehammer999/qBittorrent","owner":{"login":"sledgehammer999","id":273315,"avatar_url":"https://avatars.githubusercontent.com/u/273315?v=3","gravatar_id":"","url":"https://api.github.com/users/sledgehammer999","html_url":"https://github.com/sledgehammer999","followers_url":"https://api.github.com/users/sledgehammer999/followers","following_url":"https://api.github.com/users/sledgehammer999/following{/other_user}","gists_url":"https://api.github.com/users/sledgehammer999/gists{/gist_id}","starred_url":"https://api.github.com/users/sledgehammer999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sledgehammer999/subscriptions","organizations_url":"https://api.github.com/users/sledgehammer999/orgs","repos_url":"https://api.github.com/users/sledgehammer999/repos","events_url":"https://api.github.com/users/sledgehammer999/events{/privacy}","received_events_url":"https://api.github.com/users/sledgehammer999/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sledgehammer999/qBittorrent","description":"qBittorrent BitTorrent client","fork":true,"url":"https://api.github.com/repos/sledgehammer999/qBittorrent","forks_url":"https://api.github.com/repos/sledgehammer999/qBittorrent/forks","keys_url":"https://api.github.com/repos/sledgehammer999/qBittorrent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sledgehammer999/qBittorrent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sledgehammer999/qBittorrent/teams","hooks_url":"https://api.github.com/repos/sledgehammer999/qBittorrent/hooks","issue_events_url":"https://api.github.com/repos/sledgehammer999/qBittorrent/issues/events{/number}","events_url":"https://api.github.com/repos/sledgehammer999/qBittorrent/events","assignees_url":"https://api.github.com/repos/sledgehammer999/qBittorrent/assignees{/user}","branches_url":"https://api.github.com/repos/sledgehammer999/qBittorrent/branches{/branch}","tags_url":"https://api.github.com/repos/sledgehammer999/qBittorrent/tags","blobs_url":"https://api.github.com/repos/sledgehammer999/qBittorrent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sledgehammer999/qBittorrent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sledgehammer999/qBittorrent/git/refs{/sha}","trees_url":"https://api.github.com/repos/sledgehammer999/qBittorrent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sledgehammer999/qBittorrent/statuses/{sha}","languages_url":"https://api.github.com/repos/sledgehammer999/qBittorrent/languages","stargazers_url":"https://api.github.com/repos/sledgehammer999/qBittorrent/stargazers","contributors_url":"https://api.github.com/repos/sledgehammer999/qBittorrent/contributors","subscribers_url":"https://api.github.com/repos/sledgehammer999/qBittorrent/subscribers","subscription_url":"https://api.github.com/repos/sledgehammer999/qBittorrent/subscription","commits_url":"https://api.github.com/repos/sledgehammer999/qBittorrent/commits{/sha}","git_commits_url":"https://api.github.com/repos/sledgehammer999/qBittorrent/git/commits{/sha}","comments_url":"https://api.github.com/repos/sledgehammer999/qBittorrent/comments{/number}","issue_comment_url":"https://api.github.com/repos/sledgehammer999/qBittorrent/issues/comments{/number}","contents_url":"https://api.github.com/repos/sledgehammer999/qBittorrent/contents/{+path}","compare_url":"https://api.github.com/repos/sledgehammer999/qBittorrent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sledgehammer999/qBittorrent/merges","archive_url":"https://api.github.com/repos/sledgehammer999/qBittorrent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sledgehammer999/qBittorrent/downloads","issues_url":"https://api.github.com/repos/sledgehammer999/qBittorrent/issues{/number}","pulls_url":"https://api.github.com/repos/sledgehammer999/qBittorrent/pulls{/number}","milestones_url":"https://api.github.com/repos/sledgehammer999/qBittorrent/milestones{/number}","notifications_url":"https://api.github.com/repos/sledgehammer999/qBittorrent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sledgehammer999/qBittorrent/labels{/name}","releases_url":"https://api.github.com/repos/sledgehammer999/qBittorrent/releases{/id}","deployments_url":"https://api.github.com/repos/sledgehammer999/qBittorrent/deployments","created_at":"2012-09-15T08:20:30Z","updated_at":"2015-05-02T22:37:33Z","pushed_at":"2016-02-02T18:04:28Z","git_url":"git://github.com/sledgehammer999/qBittorrent.git","ssh_url":"git@github.com:sledgehammer999/qBittorrent.git","clone_url":"https://github.com/sledgehammer999/qBittorrent.git","svn_url":"https://github.com/sledgehammer999/qBittorrent","homepage":"http://www.qbittorrent.org","size":120294,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"qbittorrent:master","ref":"master","sha":"232af6b80225c2691d3a8c540e7f6d656024c3f5","user":{"login":"qbittorrent","id":2131270,"avatar_url":"https://avatars.githubusercontent.com/u/2131270?v=3","gravatar_id":"","url":"https://api.github.com/users/qbittorrent","html_url":"https://github.com/qbittorrent","followers_url":"https://api.github.com/users/qbittorrent/followers","following_url":"https://api.github.com/users/qbittorrent/following{/other_user}","gists_url":"https://api.github.com/users/qbittorrent/gists{/gist_id}","starred_url":"https://api.github.com/users/qbittorrent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qbittorrent/subscriptions","organizations_url":"https://api.github.com/users/qbittorrent/orgs","repos_url":"https://api.github.com/users/qbittorrent/repos","events_url":"https://api.github.com/users/qbittorrent/events{/privacy}","received_events_url":"https://api.github.com/users/qbittorrent/received_events","type":"Organization","site_admin":false},"repo":{"id":3351871,"name":"qBittorrent","full_name":"qbittorrent/qBittorrent","owner":{"login":"qbittorrent","id":2131270,"avatar_url":"https://avatars.githubusercontent.com/u/2131270?v=3","gravatar_id":"","url":"https://api.github.com/users/qbittorrent","html_url":"https://github.com/qbittorrent","followers_url":"https://api.github.com/users/qbittorrent/followers","following_url":"https://api.github.com/users/qbittorrent/following{/other_user}","gists_url":"https://api.github.com/users/qbittorrent/gists{/gist_id}","starred_url":"https://api.github.com/users/qbittorrent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qbittorrent/subscriptions","organizations_url":"https://api.github.com/users/qbittorrent/orgs","repos_url":"https://api.github.com/users/qbittorrent/repos","events_url":"https://api.github.com/users/qbittorrent/events{/privacy}","received_events_url":"https://api.github.com/users/qbittorrent/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/qbittorrent/qBittorrent","description":"qBittorrent BitTorrent client","fork":false,"url":"https://api.github.com/repos/qbittorrent/qBittorrent","forks_url":"https://api.github.com/repos/qbittorrent/qBittorrent/forks","keys_url":"https://api.github.com/repos/qbittorrent/qBittorrent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/qbittorrent/qBittorrent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/qbittorrent/qBittorrent/teams","hooks_url":"https://api.github.com/repos/qbittorrent/qBittorrent/hooks","issue_events_url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/events{/number}","events_url":"https://api.github.com/repos/qbittorrent/qBittorrent/events","assignees_url":"https://api.github.com/repos/qbittorrent/qBittorrent/assignees{/user}","branches_url":"https://api.github.com/repos/qbittorrent/qBittorrent/branches{/branch}","tags_url":"https://api.github.com/repos/qbittorrent/qBittorrent/tags","blobs_url":"https://api.github.com/repos/qbittorrent/qBittorrent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/qbittorrent/qBittorrent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/qbittorrent/qBittorrent/git/refs{/sha}","trees_url":"https://api.github.com/repos/qbittorrent/qBittorrent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/qbittorrent/qBittorrent/statuses/{sha}","languages_url":"https://api.github.com/repos/qbittorrent/qBittorrent/languages","stargazers_url":"https://api.github.com/repos/qbittorrent/qBittorrent/stargazers","contributors_url":"https://api.github.com/repos/qbittorrent/qBittorrent/contributors","subscribers_url":"https://api.github.com/repos/qbittorrent/qBittorrent/subscribers","subscription_url":"https://api.github.com/repos/qbittorrent/qBittorrent/subscription","commits_url":"https://api.github.com/repos/qbittorrent/qBittorrent/commits{/sha}","git_commits_url":"https://api.github.com/repos/qbittorrent/qBittorrent/git/commits{/sha}","comments_url":"https://api.github.com/repos/qbittorrent/qBittorrent/comments{/number}","issue_comment_url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/comments{/number}","contents_url":"https://api.github.com/repos/qbittorrent/qBittorrent/contents/{+path}","compare_url":"https://api.github.com/repos/qbittorrent/qBittorrent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/qbittorrent/qBittorrent/merges","archive_url":"https://api.github.com/repos/qbittorrent/qBittorrent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/qbittorrent/qBittorrent/downloads","issues_url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues{/number}","pulls_url":"https://api.github.com/repos/qbittorrent/qBittorrent/pulls{/number}","milestones_url":"https://api.github.com/repos/qbittorrent/qBittorrent/milestones{/number}","notifications_url":"https://api.github.com/repos/qbittorrent/qBittorrent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/qbittorrent/qBittorrent/labels{/name}","releases_url":"https://api.github.com/repos/qbittorrent/qBittorrent/releases{/id}","deployments_url":"https://api.github.com/repos/qbittorrent/qBittorrent/deployments","created_at":"2012-02-04T09:37:46Z","updated_at":"2016-02-01T20:18:32Z","pushed_at":"2016-02-02T18:04:28Z","git_url":"git://github.com/qbittorrent/qBittorrent.git","ssh_url":"git@github.com:qbittorrent/qBittorrent.git","clone_url":"https://github.com/qbittorrent/qBittorrent.git","svn_url":"https://github.com/qbittorrent/qBittorrent","homepage":"http://www.qbittorrent.org","size":125102,"stargazers_count":1514,"watchers_count":1514,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":420,"mirror_url":null,"open_issues_count":1331,"forks":420,"open_issues":1331,"watchers":1514,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/qbittorrent/qBittorrent/pulls/4681"},"html":{"href":"https://github.com/qbittorrent/qBittorrent/pull/4681"},"issue":{"href":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/4681"},"comments":{"href":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/4681/comments"},"review_comments":{"href":"https://api.github.com/repos/qbittorrent/qBittorrent/pulls/4681/comments"},"review_comment":{"href":"https://api.github.com/repos/qbittorrent/qBittorrent/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/qbittorrent/qBittorrent/pulls/4681/commits"},"statuses":{"href":"https://api.github.com/repos/qbittorrent/qBittorrent/statuses/34c16f5b73416d8f392d4039be2ace230f6b100c"}}}}