[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-09-04。"],[],[],null,["# Working with platform logs\n\nThis document shows you how to enable or disable platform logs that are created\nby reCAPTCHA as part of Cloud Logging. For more information about\nplatform logs, see\n[Google Cloud platform logs](/logging/docs/api/platform-logs).\n\nYou can enable platform logging for reCAPTCHA specifically for the\nfollowing operations:\n\n- [`Assessment`](/recaptcha/docs/reference/rest/v1/projects.assessments#Assessment)\n response from\n [`projects.assessments.create`](/recaptcha/docs/reference/rest/v1/projects.assessments/create)\n\n- [`AnnotateAssessmentRequest`](/recaptcha/docs/reference/rpc/google.cloud.recaptchaenterprise.v1#google.cloud.recaptchaenterprise.v1.AnnotateAssessmentRequest)\n request to\n [`projects.assessments.annotate`](/recaptcha/docs/reference/rest/v1/projects.assessments/annotate)\n\nPlatform logging is available only when using the v1 API\n([`CreateAssessment`](/recaptcha/docs/reference/rest/v1/projects.assessments#Assessment) and [`AnnotateAssessment`](/recaptcha/docs/reference/rest/v1/projects.assessments/annotate))\nand not with the `v1beta1` API or the `SiteVerify` API\n| **Note:** The PII data for Fraud Prevention is not displayed in the platform logs.\n\nEnable or disable platform logs\n-------------------------------\n\nTo enable or disable platform logs, do the following:\n\n1. In the Google Cloud console, go to the **reCAPTCHA** page.\n\n [Go to reCAPTCHA](https://console.cloud.google.com/security/recaptcha)\n2. Verify that the name of your project appears in the resource selector at the\n top of the page.\n\n If you don't see the name of your project, click the resource selector, then\n select your project. See\n [identifying projects](/resource-manager/docs/creating-managing-projects#identifying_projects)\n for help finding the project name, ID, or number.\n3. Click **settingsSettings**.\n\n4. In the **Platform logging** card, click **Configure**.\n\n5. To enable or disable platform logs for\n [assessment](/recaptcha/docs/create-assessment) and\n [annotation](/recaptcha/docs/annotate-assessment) operations,\n click the respective toggles in the **Platform logging** pane.\n\n6. Click **Save** to complete.\n\nFor more information about viewing, routing, and storing platform logs, see [Managing logs](/logging/docs/api/platform-logs#managing-logs).\n\nYou can enable the collection of reCAPTCHA platform logs in\nGoogle Security Operations for analysis. For more information, see\n[Collect reCAPTCHA logs](/chronicle/docs/ingestion/default-parsers/collect-gcp-recaptcha-logs).\n\nPricing\n-------\n\nFor information on logs pricing, see\n[Logging pricing](/stackdriver/pricing#logging-costs).\n| **Note:** To avoid potentially redundant billing for logs ensure that `DATA_WRITE` audit logs are not enabled for reCAPTCHA. For more information, see [audit logging](/recaptcha/docs/audit-logging)."]]