{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/msrest-for-python/issues/109","repository_url":"https://api.github.com/repos/Azure/msrest-for-python","labels_url":"https://api.github.com/repos/Azure/msrest-for-python/issues/109/labels{/name}","comments_url":"https://api.github.com/repos/Azure/msrest-for-python/issues/109/comments","events_url":"https://api.github.com/repos/Azure/msrest-for-python/issues/109/events","html_url":"https://github.com/Azure/msrest-for-python/issues/109","id":334126498,"node_id":"MDU6SXNzdWUzMzQxMjY0OTg=","number":109,"title":"\"Accept header absent and forced to application/json\" log spam","user":{"login":"dharmab","id":4450708,"node_id":"MDQ6VXNlcjQ0NTA3MDg=","avatar_url":"https://avatars3.githubusercontent.com/u/4450708?v=4","gravatar_id":"","url":"https://api.github.com/users/dharmab","html_url":"https://github.com/dharmab","followers_url":"https://api.github.com/users/dharmab/followers","following_url":"https://api.github.com/users/dharmab/following{/other_user}","gists_url":"https://api.github.com/users/dharmab/gists{/gist_id}","starred_url":"https://api.github.com/users/dharmab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dharmab/subscriptions","organizations_url":"https://api.github.com/users/dharmab/orgs","repos_url":"https://api.github.com/users/dharmab/repos","events_url":"https://api.github.com/users/dharmab/events{/privacy}","received_events_url":"https://api.github.com/users/dharmab/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-20T15:15:20Z","updated_at":"2018-06-20T17:17:14Z","closed_at":null,"author_association":"NONE","body":"#102 introduced code which ensured the \"Accept\" header is always set to \"application/json\". However, it also introduced a WARNING level log that causes a lot of spam in applications using the Azure SDK.\r\n\r\nThis makes it really had to read application logs; here's an example of an Azure deployment in Jenkins:\r\n\r\n![image](https://user-images.githubusercontent.com/4450708/41667525-6f5d8d5a-746a-11e8-81f1-0b89141c263b.png)\r\n"},"comment":{"url":"https://api.github.com/repos/Azure/msrest-for-python/issues/comments/398828506","html_url":"https://github.com/Azure/msrest-for-python/issues/109#issuecomment-398828506","issue_url":"https://api.github.com/repos/Azure/msrest-for-python/issues/109","id":398828506,"node_id":"MDEyOklzc3VlQ29tbWVudDM5ODgyODUwNg==","user":{"login":"lmazuel","id":1050156,"node_id":"MDQ6VXNlcjEwNTAxNTY=","avatar_url":"https://avatars3.githubusercontent.com/u/1050156?v=4","gravatar_id":"","url":"https://api.github.com/users/lmazuel","html_url":"https://github.com/lmazuel","followers_url":"https://api.github.com/users/lmazuel/followers","following_url":"https://api.github.com/users/lmazuel/following{/other_user}","gists_url":"https://api.github.com/users/lmazuel/gists{/gist_id}","starred_url":"https://api.github.com/users/lmazuel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmazuel/subscriptions","organizations_url":"https://api.github.com/users/lmazuel/orgs","repos_url":"https://api.github.com/users/lmazuel/repos","events_url":"https://api.github.com/users/lmazuel/events{/privacy}","received_events_url":"https://api.github.com/users/lmazuel/received_events","type":"User","site_admin":false},"created_at":"2018-06-20T17:17:14Z","updated_at":"2018-06-20T17:17:14Z","author_association":"MEMBER","body":"Hum, I guess you're right. With new SDK, this warning should not be seen, but since there is more \"old\" SDKs released than new one, that's probably fair.\r\nLet's do a debug for now as you suggest, but in a 6 months timeframe, I should put him back to \"warning\". This is to warn about a wrong assumption made by old generators that the entire world is JSON (even if it's not). New generated SDKs are more precise, and able to deal with XML.\r\nThanks for the PR!"}}
{"actor":{"display_login":"lmazuel"}}