slal
slal

Reputation: 23

Disable recording IP address in google app engine logs

Is it possible to make configurations in Google app engine for not recording IP addresses from clients to the Java application in stackdriver logs?

Upvotes: 1

Views: 394

Answers (1)

Dan Cornilescu
Dan Cornilescu

Reputation: 39834

No, you cannot configure or opt-out from request logs, where the client IP addresses are recorded. From Using Stackdriver Logging in App Engine apps:

The App Engine standard environment produces the following logs:

  • Request logs, appengine.googleapis.com/request_log, called request_log in the Logs Viewer. This log records requests sent to all App Engine apps. The request log is provided by default and you cannot opt out of receiving it. For more details, see the RequestLog type.

...

The App Engine flexible environment produces the following logs:

  • Request logs record requests sent to all App Engine apps. The request log is provided by default and you cannot opt out of receiving it.

Upvotes: 1

Related Questions