title: Does Google App Engine support log sampling?
body: <p>By log sampling I mean that not all the logs are saved to Stackdriver but just a sample of them. Useful for high traffic applications.</p>
  
  <p>I've searched but the only mention I see is <a href="https://cloud.google.com/endpoints/docs/openapi/tracing#disabling_trace_sampling" rel="nofollow noreferrer">here</a> in the context of App Engine Flex and OpenAPI.</p>
  
  <p>There is also an option to sample logs at query time <a href="https://cloud.google.com/logging/docs/exclusions#sample" rel="nofollow noreferrer">here</a>.</p>
  
  <p>Log sampling is also mentioned as an option for Trace clients <a href="https://cloud.google.com/stackdriver/pricing#reduce_your_trace_usage" rel="nofollow noreferrer">here</a> but that doesn't seem applicable to App Engine.</p>