Google api client for python log level and debuglevel not working
<p>While building a basic python app on AppEngine I found this page:
<a href="https://developers.google.com/api-client-library/python/guide/logging" rel="nofollow">https://developers.google.com/api-client-library/python/guide/logging</a></p>

<p>Which states you can do the following to set the log level:</p>

<pre><code>import logging

logger = logging.getLogger()
logger.setLevel(logging.INFO)
</code></pre>

<p>However it doesn't seem to have any impact on the output which is always INFO for me.  I set to logging.DEBUG and don't see any debug entries.  I set to logging.WARNING and still see info entries.  Never seems to change.</p>

<p>I also tried setting httplib2 to debuglevel 4:</p>

<pre><code>import httplib2
httplib2.debuglevel = 4
</code></pre>

<p>Yet I don't see any HTTP headers in the log :/</p>

<p>Running python 2.7.10 in PyCharm.</p>

<p>Has anyone got these settings to work?</p>

<p>In PyCharm edit your project's Run configuration (<code>Run</code> -> <code>Edit Configurations</code> then select your project) and in the <code>Additional options</code> field add <code>--log_level=debug</code>.</p>

<p>BTW - you don't need to set the <code>logger</code> options, the above should suffice.</p>

python google-app-engine debugging google-api pycharm