title: python logging - With JSON logs can I add an "extra" value to every single log?
body: <p>I'm using the python <a href="https://docs.python.org/3/library/logging.html" rel="nofollow noreferrer">logging</a> module, along with <a href="https://github.com/madzak/python-json-logger" rel="nofollow noreferrer">python-json-logger</a> and I would like to add a few keys:</p>
  
  <pre><code>{
    "app_name": "myapp",
    "env": "prod"
  }
  </code></pre>
  
  <p>To all of my logs automatically without doing the following.</p>
  
  <pre class="lang-py prettyprint-override"><code>logger.info("Something happened", extra={"app_name": "myapp", "env": "prod"})
  </code></pre>
  
  <p>But for it to work as if I had. :)</p>