From 925eb9112b416f06fa8d0dca62882b5d688792f6 Mon Sep 17 00:00:00 2001 From: Devraj Mehta Date: Mon, 11 Nov 2024 09:52:24 -0500 Subject: [PATCH] Add Copilot for Xcode logging details (#52937) Co-authored-by: Kevin Heis --- ...-for-github-copilot-in-your-environment.md | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/content/copilot/troubleshooting-github-copilot/viewing-logs-for-github-copilot-in-your-environment.md b/content/copilot/troubleshooting-github-copilot/viewing-logs-for-github-copilot-in-your-environment.md index a9e1a78a2fa3..879096844d40 100644 --- a/content/copilot/troubleshooting-github-copilot/viewing-logs-for-github-copilot-in-your-environment.md +++ b/content/copilot/troubleshooting-github-copilot/viewing-logs-for-github-copilot-in-your-environment.md @@ -157,3 +157,23 @@ To check if GitHub Copilot is operational, run the following command in Vim/Neov :Copilot status {% endvimneovim %} + +{% xcode %} + +## Collecting log files + +The log files for the {% data variables.product.prodname_copilot %} extension for Xcode are stored in `~/Library/Logs/GitHubCopilot/`. The most recent file is named `github-copilot-for-xcode.log`. + +1. Open the {% data variables.product.prodname_copilot %} extension application. +1. At the top of the application window, click **Advanced**. +1. In the "Logging" section, click **Open Copilot Log Folder**. + +## Enabling verbose logs + +You can enable verbose logging to help troubleshoot issues with the {% data variables.product.prodname_copilot %} extension for Xcode. + +1. Open the {% data variables.product.prodname_copilot %} extension application. +1. At the top of the application window, click **Advanced**. +1. In the "Logging" section, next to "Verbose Logging", toggle the switch to the right. + +{% endxcode %}