> To build or manage a Wix site with an AI agent, follow https://www.wix.com/headless/skill.md
> It builds a new Wix site or puts your own site online, from a prompt, and keeps changing it afterwards. The pages are code in any web technology, and Wix runs the backend.
> It works through the Wix plugin (the Wix MCP and the Wix skills), the Wix CLI or no Wix login, and puts the site live on Wix hosting or on another host.
> Business features include a store, bookings, events and tickets, a restaurant, a blog, forms, members and many more.
> Read the Wix skills online at https://www.wix.com/skills
> 
> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

## Resource: View Logs using Google Cloud Logs  

## Article: Connecting Wix Logs to Google Cloud Logs

## Article Link: https://dev.wix.com/docs/develop-websites/articles/workspace-tools/developer-tools/logs/view-logs-using-google-cloud-logs.md

## Article Content:

# View Logs using Google Cloud Logs

You can view your site's [logs](https://dev.wix.com/docs/develop-websites/articles/workspace-tools/developer-tools/logs/about-logs.md) using [Google Cloud Logs](https://cloud.google.com/products/operations), an external monitoring tool that displays, analyzes, and stores your logs. With Google Cloud Logs, you can:

- Stream, search, and analyze log data in real time.
- Store log data in the cloud.
- Trace, sort, and filter aggregated error data.

This article explains how to:

- [Connect to Google Cloud Logs](#connect-to-google-cloud-logs)
- [View your logs using Google Cloud Logs](#view-your-logs-using-google-cloud-logs)
- [Disconnect Google Cloud Logs](#disconnect-google-cloud-logs)

## Connect to Google Cloud Logs

To connect your site's logs to Google Cloud Logs:

1. In the site dashboard, click **Developer Tools** > **Logging Tools**.

2. In the Google Cloud Logs section, click **Open**. The Google Cloud Logs page opens.

   <div style="text-align:left">

   <img src="https://wixmp-833713b177cebf373f611808.wixmp.com/images/487556bbe4bdfd2d7cc337715f682e38.png" style="max-width:50vw" />

   </div>

3. In the Google Cloud Logs page, click **Connect**. The Google Account Login page appears.

4. Sign in to the Google account associated with your site.

Your site is now connected to Google Cloud Logs.

## View your logs using Google Cloud Logs

Reload your site and [generate logs](https://dev.wix.com/docs/develop-websites/articles/workspace-tools/developer-tools/logs/generate-logs-to-debug-your-site.md) from its frontend or backend.

To view logs using Google Cloud Logs:

1. In your site dashboard, click **Developer Tools** > **Logging Tools**.
2. In the Google Cloud Logs section, click **Open**. The Google Cloud Logs page appears.

   <div style="text-align:left">

   <img src="https://wixmp-833713b177cebf373f611808.wixmp.com/images/a5a565eb1bffda79c3100b041c69f79f.png" style="max-width:50vw" />

   </div>

3. Click **Open** and sign in to a Google account associated with your site.

   Once logged in, the Google Cloud Logs Explorer page opens. It displays your site's logs and errors.

   <div style="text-align:left">

   <img src="https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/11fda387-da5a-430a-ada3-46def885b67f/2022/01/04/a1280bc7-f557-4af4-8757-0d8380675e6e/b8394681-922d-4358-8acb-bed8addbd56f.png" style="max-width:45vw" />

   </div>

   Click any log to view its data.

   <div style="text-align:left">
   <img src="https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/11fda387-da5a-430a-ada3-46def885b67f/2022/01/05/a5205e65-5b30-429b-8c62-aa574d7c1712/8951f83f-1eb0-498d-95b9-b1a1dfd50af2.png" style="max-width:45vw" />
   </div>

   To better understand the logs, learn about the [log object structure](https://dev.wix.com/docs/develop-websites/articles/workspace-tools/developer-tools/logs/log-object-structure.md).

## Disconnect Google Cloud Logs

To disconnect your site from Google Cloud Logs:

1.  In your site dashboard, click **Developer Tools** > **Logging Tools**.
2.  In the **Google Cloud Logs** section, click **Open**. The Google Cloud Logs page appears.
3.  On the top right of the page, click **Disconnect**.

    <div style="text-align:left">
    <img src="https://wixmp-833713b177cebf373f611808.wixmp.com/images/255f7cbfb39a389cff85d90dc4bb8fcd.png" style="max-width:45vw" />
    </div>

4.  In the **Disconnect from Google cloud Logs?** popup, click **Disconnect**.

    <div style="text-align:left">
    <img src="https://wixmp-833713b177cebf373f611808.wixmp.com/images/1417b63a4f5bdd70892eb835b650ed35.png" style="max-width:45vw" />
    </div>

Your site is now disconnected from Google Cloud Logs.

> **Note:** Disconnecting your site from Google Cloud Logs does not affect the data stored in your Google Cloud Logs account. You can reconnect your site to Google Cloud Logs at any time.

## See also

- [About logs](https://dev.wix.com/docs/develop-websites/articles/workspace-tools/developer-tools/logs/about-logs.md)
- [View logs using Wix Logs](https://dev.wix.com/docs/develop-websites/articles/workspace-tools/developer-tools/logs/view-logs-using-wix-logs.md)
- [View logs using an external monitoring tool](https://dev.wix.com/docs/develop-websites/articles/workspace-tools/developer-tools/logs/view-logs-using-an-external-monitoring-tool.md)
- [Tutorial | Generate logs to debug your site](https://dev.wix.com/docs/develop-websites/articles/workspace-tools/developer-tools/logs/generate-logs-to-debug-your-site.md)
- [Log object structure](https://dev.wix.com/docs/develop-websites/articles/workspace-tools/developer-tools/logs/log-object-structure.md)