Using python Logging with AWS Lambda
<p>As the AWS documentation suggests:</p>

<pre><code>import logging
logger = logging.getLogger()
logger.setLevel(logging.INFO)
def my_logging_handler(event, context):
    logger.info('got event{}'.format(event))
    logger.error('something went wrong')
</code></pre>

<p>Now I made:</p>

<pre><code>import logging
logging.basicConfig(level = logging.INFO)
logging.info("Hello World!")
</code></pre>

<p>The first snippet of code prints in the <code>Cloud Watch</code> console, but the second one no.</p>

<p>I didn't see any difference  as the two snippets are using the root logger.</p>