title: Is it possible to output logs in JSON format for graphql-yoga?
body: <p>I use <a href="https://github.com/prisma/graphql-yoga" rel="nofollow noreferrer">graphql-yoga</a> and I'd like the format of my logs to be JSON. How can I do it?</p>
  
  <p>The current state is the following:</p>
  
  <pre><code>$ kubectl logs ...
  (node:21) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing ...
  </code></pre>