[[["易于理解","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-08-19。"],[[["\u003cp\u003eThis page outlines how to access and view logging data for connectors using Google Cloud Logging, a service for storing, searching, and analyzing log events.\u003c/p\u003e\n"],["\u003cp\u003eConnectors can log at three levels: Error (including warning messages), Info (operations and execution details), and Debug (detailed tracing information); logging is disabled by default to maintain connector performance.\u003c/p\u003e\n"],["\u003cp\u003eTo view connector logs, you must enable logging during the connector's configuration or by editing an existing connector, then navigate to the Logs Explorer in the Google Cloud console.\u003c/p\u003e\n"],["\u003cp\u003eIn the Logs Explorer, use the query \u003ccode\u003eresource.type="connectors.googleapis.com/Connection"\u003c/code\u003e to find logs for all connections, or refine the query by location and connection name for more specific results.\u003c/p\u003e\n"],["\u003cp\u003eFurther filtering of search results can be done in the Logs explorer by time, severity, and log name.\u003c/p\u003e\n"]]],[],null,["# View Integration Connectors logs\n================================\n\nThis page describes the logging data available for a connector and how you can access this\ndata using Cloud Logging.\n\n\nCloud Logging is a fully managed service that allows you to store, search, analyze, monitor,\nand alert on logging data and events from Google Cloud. For more information about\nCloud Logging, see [Cloud Logging documentation](/logging/docs).\n\nYou can configure a connector to log at any of the following levels:\n\n- **Error:** Logs error messages that occur during failures such as connection failures, and authentication failures. \n Warning logs for non-critical messages also get logged. For example, if you are accessing an unsupported entity, a warning message is logged.\n- **Info:** Logs information about operations and executions. Generally, this log will have request, response, and headers for the requests which the connector makes to your backend system.\n- **Debug:** Logs detailed tracing information which would be useful for debugging any issues in connection or execution. This log will have all the information that is logged at the **Info** and **Error** levels, and additional details such as SSL information, network calls, and other tracing information.\n\n| **Note:** Logging is disabled by default for a connector as enabling logging might impact performance. You can enable logging when configuring a new connector or if you already have a connector, you can enable logging by editing the connector. To understand how to edit a connector, see [Edit connection](/integration-connectors/docs/manage-connections).\n\nView logs\n---------\n\nIf logging is enabled for a connector, you can view the logs in the Logs Explorer. To view\nthe logs in the Google Cloud console, do the following steps:\n\n1. Go to the Logs Explorer in the Google Cloud console: [Go to Logs Explorer](https://console.cloud.google.com/logs)\n\n\n To get a better understanding of the Logs Explorer, see [Logs Explorer interface](/logging/docs/view/logs-explorer-interface).\n2. In the **Query** tab, enter: \n\n ```\n resource.type=\"connectors.googleapis.com/Connection\"\n ```\n\n This sample query shows logs for all the connections across all the regions. You can further\n filter the logs based on region and a connection name. For example, the following query\n shows logs for the `cloud-storage-con-1` connection, that is configured in the\n `us-central1` location. \n\n ```\n resource.type=\"connectors.googleapis.com/Connection\"\n resource.labels.location=\"us-central1\"\n resource.labels.connection=\"cloud-storage-con-1\"\n ```\n3. You can filter the search results further by time, severity, and log name.\n4. Click **Run query**."]]