{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/17132","labels_url":"https://api.github.com/repos/owncloud/core/issues/17132/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/17132/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/17132/events","html_url":"https://github.com/owncloud/core/issues/17132","id":90631433,"number":17132,"title":"Plug Doctrine logger in OC logger for log_query","user":{"login":"PVince81","id":277525,"avatar_url":"https://avatars.githubusercontent.com/u/277525?v=3","gravatar_id":"","url":"https://api.github.com/users/PVince81","html_url":"https://github.com/PVince81","followers_url":"https://api.github.com/users/PVince81/followers","following_url":"https://api.github.com/users/PVince81/following{/other_user}","gists_url":"https://api.github.com/users/PVince81/gists{/gist_id}","starred_url":"https://api.github.com/users/PVince81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PVince81/subscriptions","organizations_url":"https://api.github.com/users/PVince81/orgs","repos_url":"https://api.github.com/users/PVince81/repos","events_url":"https://api.github.com/users/PVince81/events{/privacy}","received_events_url":"https://api.github.com/users/PVince81/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/enhancement%20-%20proposed","name":"enhancement - proposed","color":"FF9900"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/37","html_url":"https://github.com/owncloud/core/milestones/8.2-next","labels_url":"https://api.github.com/repos/owncloud/core/milestones/37/labels","id":993629,"number":37,"title":"8.2-next","description":"","creator":{"login":"craigpg","id":160667,"avatar_url":"https://avatars.githubusercontent.com/u/160667?v=3","gravatar_id":"","url":"https://api.github.com/users/craigpg","html_url":"https://github.com/craigpg","followers_url":"https://api.github.com/users/craigpg/followers","following_url":"https://api.github.com/users/craigpg/following{/other_user}","gists_url":"https://api.github.com/users/craigpg/gists{/gist_id}","starred_url":"https://api.github.com/users/craigpg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craigpg/subscriptions","organizations_url":"https://api.github.com/users/craigpg/orgs","repos_url":"https://api.github.com/users/craigpg/repos","events_url":"https://api.github.com/users/craigpg/events{/privacy}","received_events_url":"https://api.github.com/users/craigpg/received_events","type":"User","site_admin":false},"open_issues":615,"closed_issues":2,"state":"open","created_at":"2015-02-24T16:19:37Z","updated_at":"2015-06-24T10:19:29Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-06-24T10:08:50Z","updated_at":"2015-06-24T10:39:18Z","closed_at":null,"body":"Currently the `log_query` setting is going through custom code/wrappers that log queries.\r\nHowever these logs are missing many things like transactions.\r\n\r\nI noticed that Doctrine has its own logger, so why not just use that whenever \"log_query\" is set to true ?\r\n\r\n@DeepDiver1975 @icewind1991 "},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/114819783","html_url":"https://github.com/owncloud/core/issues/17132#issuecomment-114819783","issue_url":"https://api.github.com/repos/owncloud/core/issues/17132","id":114819783,"user":{"login":"PVince81","id":277525,"avatar_url":"https://avatars.githubusercontent.com/u/277525?v=3","gravatar_id":"","url":"https://api.github.com/users/PVince81","html_url":"https://github.com/PVince81","followers_url":"https://api.github.com/users/PVince81/followers","following_url":"https://api.github.com/users/PVince81/following{/other_user}","gists_url":"https://api.github.com/users/PVince81/gists{/gist_id}","starred_url":"https://api.github.com/users/PVince81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PVince81/subscriptions","organizations_url":"https://api.github.com/users/PVince81/orgs","repos_url":"https://api.github.com/users/PVince81/repos","events_url":"https://api.github.com/users/PVince81/events{/privacy}","received_events_url":"https://api.github.com/users/PVince81/received_events","type":"User","site_admin":false},"created_at":"2015-06-24T10:39:18Z","updated_at":"2015-06-24T10:39:18Z","body":"We should rewire \"log_query\" to log in the regular console using DEBUG log level when true."}}