{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/9128","labels_url":"https://api.github.com/repos/laravel/framework/issues/9128/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/9128/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/9128/events","html_url":"https://github.com/laravel/framework/issues/9128","id":86184208,"number":9128,"title":"Db query log","user":{"login":"2byte","id":6646993,"avatar_url":"https://avatars.githubusercontent.com/u/6646993?v=3","gravatar_id":"","url":"https://api.github.com/users/2byte","html_url":"https://github.com/2byte","followers_url":"https://api.github.com/users/2byte/followers","following_url":"https://api.github.com/users/2byte/following{/other_user}","gists_url":"https://api.github.com/users/2byte/gists{/gist_id}","starred_url":"https://api.github.com/users/2byte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2byte/subscriptions","organizations_url":"https://api.github.com/users/2byte/orgs","repos_url":"https://api.github.com/users/2byte/repos","events_url":"https://api.github.com/users/2byte/events{/privacy}","received_events_url":"https://api.github.com/users/2byte/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-08T13:47:24Z","updated_at":"2015-06-08T13:48:36Z","closed_at":"2015-06-08T13:48:26Z","body":"```\r\n$actions = $logActions->paginate(20);\r\n\r\n\\DB::enableQueryLog();\r\n$queries = \\DB::getQueryLog();\r\n\r\ndd($queries);\r\n```\r\n\r\n$queries is empty"},"comment":{"url":"https://api.github.com/repos/laravel/framework/issues/comments/110001742","html_url":"https://github.com/laravel/framework/issues/9128#issuecomment-110001742","issue_url":"https://api.github.com/repos/laravel/framework/issues/9128","id":110001742,"user":{"login":"lukasgeiter","id":5907946,"avatar_url":"https://avatars.githubusercontent.com/u/5907946?v=3","gravatar_id":"","url":"https://api.github.com/users/lukasgeiter","html_url":"https://github.com/lukasgeiter","followers_url":"https://api.github.com/users/lukasgeiter/followers","following_url":"https://api.github.com/users/lukasgeiter/following{/other_user}","gists_url":"https://api.github.com/users/lukasgeiter/gists{/gist_id}","starred_url":"https://api.github.com/users/lukasgeiter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukasgeiter/subscriptions","organizations_url":"https://api.github.com/users/lukasgeiter/orgs","repos_url":"https://api.github.com/users/lukasgeiter/repos","events_url":"https://api.github.com/users/lukasgeiter/events{/privacy}","received_events_url":"https://api.github.com/users/lukasgeiter/received_events","type":"User","site_admin":false},"created_at":"2015-06-08T13:48:36Z","updated_at":"2015-06-08T13:48:36Z","body":"You need to enable the query log before you actually run a query..."}}