# Velo: Connecting Wix Logs to Google Cloud Logs

Source: https://support.wix.com/en/article/velo-connecting-wix-logs-to-google-cloud-logs (updated 2024-07-19)
Related: Wix developer documentation, https://dev.wix.com/docs/llms.txt; Help Center index, https://support.wix.com/en/llms.txt

Visit the [Velo by Wix website](https://www.wix.com/velo) to onboard and continue learning.

[Wix Logs](https://dev.wix.com/docs/develop-websites/articles/workspace-tools/developer-tools/logs/about-wix-logs) let you integrate with [Google Cloud Logs](https://cloud.google.com/products/operations), an external monitoring tool that analyzes your logs and helps you gain valuable insights from them.

## Monitoring with Google Cloud Logs

The following are some of the features available for Wix sites with Google Cloud Logs:

* **Log analysis:** Stream, search, and analyze log data in real time.
* **Log routing:** Filter log data and store it in the cloud.
* **Error reporting:** Track errors in real-time or sort and filter aggregated error data.

## Connect to Google Cloud Logs

**To connect your Wix Logs to Google Cloud Logs:** 

1. Make sure Velo Dev Mode is [enabled](https://support.wix.com/en/article/enabling-velo) for your site.
2. Add console methods to your frontend and/or backend code. [Learn more](https://support.wix.com/en/article/velo-generating-a-site-monitoring-event-to-debug-your-site).
3. Select **Developer Tools** in the [Velo Sidebar](https://support.wix.com/en/article/velo-working-with-the-velo-sidebar).
4. Under the **Logging Tools** section, select **Google Cloud Logs**.  
    
![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/c7eb46d1-5252-4fc8-b9a2-93aaff6f05d8/2024/07/19/db74c460-dae7-4ac0-a196-2934e9f1dee9/20875d78-06a2-4e54-84bd-223653e517d7.png)

1. Click **Connect**.
2. Select a Google account for signing in to Google Cloud Logs.  
 Your site is now connected to Google Cloud Logs.![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/0ca9e8ba-16ed-4cd8-a1e1-58d01c4420f7/2019/09/18/14c57df0-f38e-4c11-beca-d0de8f8ed8ca/5a2e0748-8581-4fb5-b0f9-6b088cba628b.png)
3. Reload your site and [generate a log](https://dev.wix.com/docs/develop-websites/articles/workspace-tools/testing-monitoring/test-sites/test-sites-and-velo).
4. Back in the dashboard, click **Open**.  
 Google Cloud Logs Explorer opens, displaying a list of generated logs and errors from your site.  
![](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)

1. Click a log to view log data.  
    
![](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)  
 For a detailed description of available log data for Wix Logs, click [here](https://www.wix.com/velo/reference/spis/site-monitoring/logentry).
2. Explore the variety of features available in Google Cloud Logs for analyzing your logs and gaining additional insights.

## Disconnect Google Cloud Logs

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

**To disconnect Wix Logs from Google Cloud Logs:** 

1. In your site's [dashboard](https://support.wix.com/en/article/accessing-your-sites-dashboard), select **Developer Tools**.
2. Select **Logging Tools**.
3. In Google Cloud Logs, click **Open**.  
    
![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/c7eb46d1-5252-4fc8-b9a2-93aaff6f05d8/2024/07/19/395a6819-e1cf-41cf-8034-d2b0f75b14d0/e25438d1-61b9-4e1c-aa6d-7b84d5d7b7e9.png)
4. On the top right of the Google Cloud Logs panel, click **Disconnect**.
5. In **Remove Integration**, click **Remove**.  
 Wix Logs are no longer sent to your Google Cloud account.

> **Learn more**
>
> * To learn how to generate logs for your site, click [here](https://support.wix.com/en/article/velo-generating-a-site-monitoring-event-to-debug-your-site).
> * To learn how to view logs directly in your site's dashboard, click [here](https://support.wix.com/en/article/velo-viewing-live-site-monitoring-events).
