{"action":"closed","issue":{"url":"https://api.github.com/repos/paypal/PayPal-Python-SDK/issues/113","labels_url":"https://api.github.com/repos/paypal/PayPal-Python-SDK/issues/113/labels{/name}","comments_url":"https://api.github.com/repos/paypal/PayPal-Python-SDK/issues/113/comments","events_url":"https://api.github.com/repos/paypal/PayPal-Python-SDK/issues/113/events","html_url":"https://github.com/paypal/PayPal-Python-SDK/issues/113","id":119037420,"number":113,"title":"Live Mode Logging Warning","user":{"login":"dsanders11","id":5820654,"avatar_url":"https://avatars.githubusercontent.com/u/5820654?v=3","gravatar_id":"","url":"https://api.github.com/users/dsanders11","html_url":"https://github.com/dsanders11","followers_url":"https://api.github.com/users/dsanders11/followers","following_url":"https://api.github.com/users/dsanders11/following{/other_user}","gists_url":"https://api.github.com/users/dsanders11/gists{/gist_id}","starred_url":"https://api.github.com/users/dsanders11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsanders11/subscriptions","organizations_url":"https://api.github.com/users/dsanders11/orgs","repos_url":"https://api.github.com/users/dsanders11/repos","events_url":"https://api.github.com/users/dsanders11/events{/privacy}","received_events_url":"https://api.github.com/users/dsanders11/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/paypal/PayPal-Python-SDK/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-26T12:41:01Z","updated_at":"2015-11-30T16:45:40Z","closed_at":"2015-11-30T16:45:40Z","body":"When using the API in live mode the message 'Not logging full request/response headers and body in live mode for compliance' is constantly logged to the root logger at warning level. This is rather annoying as there's no way to suppress this log message since it is going to the root logger, short of setting the log level as higher than warning for the root logger (undesirable/bad practice).\r\n\r\nThe [section](https://github.com/paypal/PayPal-Python-SDK/blob/master/paypalrestsdk/api.py#L191) where the message is logged is the only bit in that file which uses `logging.debug` instead of `log.debug`, which would send it to the named logger for that file. Is that intentional, or simply an oversight?\r\n\r\nIn addition, even if those lines were changed to use `log.debug`, it seems like the message should be at the 'info' log level, not 'warning'? I don't want to disable all warnings for paypalrestsdk but that would be required to suppress the message in the logs.\r\n\r\nI've created a pull request if these changes seem acceptable: #112 "}}