The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
docs: update local development docs to include logging section
TzeYiinga74678060794
diff --git a/apps/docs/pages/guides/cli/local-development.mdx b/apps/docs/pages/guides/cli/local-development.mdxindex 5438b2e941c..78b6d94e000 100644--- a/apps/docs/pages/guides/cli/local-development.mdx+++ b/apps/docs/pages/guides/cli/local-development.mdx@@ -407,12 +407,39 @@ If your project uses Edge Functions, you can deploy these using [`functions deplsupabase functions deploy <function_name>```+### Enabling Local Logging++Local logs rely on the Supabase Analytics Server. This can be enabled via the CLI configuration, and requires a Google Cloud project and BigQuery access.++Requirements:++1. Google Cloud project number+2. Google Cloud project ID+3. Google Cloud JWT, obtained through [Google Cloud IAM dashboard](https://console.cloud.google.com/iam-admin/iam)++Once you have these 3 items, follow these steps:++1. Update your project's `config.toml` and fill in the following:++```+[analytics]+enabled = true+gcp_project_number = "123456"+gcp_project_id = "my-project-id"+gcp_jwt_path = "supabase/gcloud.json"+```++2. Place your JWT file at the corresponding path and ensure that it is correctly named.++3. Start your local stack using `supabase start`++This will switch the logging drivers and will direct logs to the Analytics server. You will be able to view and query your logs via the Studio Logs Explorer and Logs UI.+## Limitations and considerationsThe local development environment is not as feature-complete as the Supabase Platform. We're working towards parity between the hosted platform and the local environment. Here are some of the differences:- The Functions interface is coming soon.-- Logs are not supported through the interface, but you can access them through the Docker containers.- You cannot update your project settings in the Dashboard. This must be done using the CLI.export const Page = ({ children }) => <Layout meta={meta} children={children} />