{"action":"opened","issue":{"url":"https://api.github.com/repos/lisushka/Winnie_Bot/issues/35","repository_url":"https://api.github.com/repos/lisushka/Winnie_Bot","labels_url":"https://api.github.com/repos/lisushka/Winnie_Bot/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/lisushka/Winnie_Bot/issues/35/comments","events_url":"https://api.github.com/repos/lisushka/Winnie_Bot/issues/35/events","html_url":"https://github.com/lisushka/Winnie_Bot/issues/35","id":380978669,"node_id":"MDU6SXNzdWUzODA5Nzg2Njk=","number":35,"title":"Feature Request: clearer formatting/more info of debug.log ","user":{"login":"wcmckee","id":1680822,"node_id":"MDQ6VXNlcjE2ODA4MjI=","avatar_url":"https://avatars0.githubusercontent.com/u/1680822?v=4","gravatar_id":"","url":"https://api.github.com/users/wcmckee","html_url":"https://github.com/wcmckee","followers_url":"https://api.github.com/users/wcmckee/followers","following_url":"https://api.github.com/users/wcmckee/following{/other_user}","gists_url":"https://api.github.com/users/wcmckee/gists{/gist_id}","starred_url":"https://api.github.com/users/wcmckee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wcmckee/subscriptions","organizations_url":"https://api.github.com/users/wcmckee/orgs","repos_url":"https://api.github.com/users/wcmckee/repos","events_url":"https://api.github.com/users/wcmckee/events{/privacy}","received_events_url":"https://api.github.com/users/wcmckee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-15T02:59:11Z","updated_at":"2018-11-15T02:59:11Z","closed_at":null,"author_association":"NONE","body":"**Is your feature request related to a problem? Please describe.**\r\nThe debug.log could be more friendly to parse and it could contain more data.\r\n\r\n**Describe the solution you'd like**\r\n\r\nCurrently the debug.log format is: \r\n\r\n{\"level\":\"info\",\"message\":\"<@1> entered command !waz 20 1 hey\",\"timestamp\":\"2018-11-15T02:43:59.854Z\"}\r\n\r\nI would like to switch the format to something like: \r\n\r\n{\"level\":\"info\", \"user\" : \"<@1>\", \"message\" : \"!waz 20 1 hey\",\"timestamp\":\"2018-11-15T02:43:59.854Z\", \"success\" : False}\r\n\r\n{\"level\":\"info\", \"user\" : \"<@2>\", \"message\" : \"!war 20 1 hey\",\"timestamp\":\"2018-11-16T02:43:59.854Z\", \"success\" : True, \"response\": \"Your war, hey (ID 3), starts in 1 minute.\"}\r\n\r\n**Describe alternatives you've considered**\r\nI could solve this somewhat by creating a script that opens the debug.log file and use re to convert to perfected format.  \r\n\r\n**Additional context**\r\nThis would make it easier to test the commands that user inputs. The debug could also contain the response that Winnie gives. Could also contain if the command was successful or not. \r\n"}}
{"actor":{"display_login":"wcmckee"}}