{"action":"created","issue":{"url":"https://api.github.com/repos/typeorm/typeorm/issues/1860","repository_url":"https://api.github.com/repos/typeorm/typeorm","labels_url":"https://api.github.com/repos/typeorm/typeorm/issues/1860/labels{/name}","comments_url":"https://api.github.com/repos/typeorm/typeorm/issues/1860/comments","events_url":"https://api.github.com/repos/typeorm/typeorm/issues/1860/events","html_url":"https://github.com/typeorm/typeorm/issues/1860","id":310195396,"number":1860,"title":"Logging queries while running migrations","user":{"login":"tonyxiao","id":696842,"avatar_url":"https://avatars1.githubusercontent.com/u/696842?v=4","gravatar_id":"","url":"https://api.github.com/users/tonyxiao","html_url":"https://github.com/tonyxiao","followers_url":"https://api.github.com/users/tonyxiao/followers","following_url":"https://api.github.com/users/tonyxiao/following{/other_user}","gists_url":"https://api.github.com/users/tonyxiao/gists{/gist_id}","starred_url":"https://api.github.com/users/tonyxiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonyxiao/subscriptions","organizations_url":"https://api.github.com/users/tonyxiao/orgs","repos_url":"https://api.github.com/users/tonyxiao/repos","events_url":"https://api.github.com/users/tonyxiao/events{/privacy}","received_events_url":"https://api.github.com/users/tonyxiao/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-31T00:06:21Z","updated_at":"2018-03-31T06:34:58Z","closed_at":"2018-03-31T06:34:58Z","author_association":"NONE","body":"**Issue type:**\r\n\r\n[x] question\r\n[ ] bug report\r\n[x] feature request\r\n[x] documentation issue\r\n\r\n**Database system/driver:**\r\n\r\n[ ] `cordova`\r\n[ ] `mongodb`\r\n[ ] `mssql`\r\n[ ] `mysql` / `mariadb`\r\n[ ] `oracle`\r\n[x] `postgres`\r\n[ ] `sqlite`\r\n[ ] `sqljs`\r\n[ ] `websql`\r\n\r\n**TypeORM version:**\r\n\r\n[x] `latest`\r\n[ ] `@next`\r\n[ ] `0.x.x` (or put your version here)\r\n\r\nI'm not quite sure if this is a feature request or a question - but is there a way to get the typeorm cli to output the raw SQL queries while running migration? This seems to be the default when doing schem:sync but no logs output when running migration, even when my config has `logging` set to `true`"},"comment":{"url":"https://api.github.com/repos/typeorm/typeorm/issues/comments/377670623","html_url":"https://github.com/typeorm/typeorm/issues/1860#issuecomment-377670623","issue_url":"https://api.github.com/repos/typeorm/typeorm/issues/1860","id":377670623,"user":{"login":"pleerock","id":1753397,"avatar_url":"https://avatars3.githubusercontent.com/u/1753397?v=4","gravatar_id":"","url":"https://api.github.com/users/pleerock","html_url":"https://github.com/pleerock","followers_url":"https://api.github.com/users/pleerock/followers","following_url":"https://api.github.com/users/pleerock/following{/other_user}","gists_url":"https://api.github.com/users/pleerock/gists{/gist_id}","starred_url":"https://api.github.com/users/pleerock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pleerock/subscriptions","organizations_url":"https://api.github.com/users/pleerock/orgs","repos_url":"https://api.github.com/users/pleerock/repos","events_url":"https://api.github.com/users/pleerock/events{/privacy}","received_events_url":"https://api.github.com/users/pleerock/received_events","type":"User","site_admin":false},"created_at":"2018-03-31T06:34:58Z","updated_at":"2018-03-31T06:34:58Z","author_association":"OWNER","body":"yes I already enabled logging in `next`."}}
{"actor":{"display_login":"pleerock"}}