title: Python 3.7 - Logger not showing any log on GCP LOG Viewer
body: <p>I've made a decorator named "logger" and I'm using it to show log on the console.</p>
  
  <p>In my python 2.7 everything works fine but in my python 3.7 code, it doesn't print any log in <strong>GCP log viewer</strong>. (My code is deployed on GCP standard environment) </p>
  
  <p>I've tried to set this code but it doesn't work.</p>
  
  <pre><code>logging.getLogger().setLevel(logging.INFO)
  </code></pre>
  
  <p>Here's my simple logger decorator</p>
  
  <pre><code>def logger(func):
    def wrapper(*args, **kwargs):
      logging.info('INSIDE %s PARAMETERS: %s', func.__name__, args)
      res = func(*args, **kwargs)
      logging.info('OUTSIDE %s OUTPUT: %s', func.__name__, res)
      return res
  
    return wrapper
  </code></pre>
  
  <p>Even a simple <code>logging.info</code> statement is not working.</p>
  
  <p><strong>I've tried everything with logging, but nothing gets printed out on GCP Log Viewer.</strong> </p>
  
  <pre><code>logging.info("Text info")
  logging.debug("Text debug")
  logging.warning("Text warning")
  logging.error("Text error")
  logging.critical("Text critical")
  </code></pre>
  
  <p>Here is the log viewer</p>
  
  <p><a href="https://i.stack.imgur.com/PEeCj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PEeCj.png" alt="Screen shot of log viewer"></a></p>