diff --git a/docs/troubleshooting-faq/debug-logs.md b/docs/troubleshooting-faq/debug-logs.md index 244317fecf..b0b01a4393 100644 --- a/docs/troubleshooting-faq/debug-logs.md +++ b/docs/troubleshooting-faq/debug-logs.md @@ -4,7 +4,4 @@ For security, the API and Resource PRocessor are configured to not show detailed You can enable debugging on the API and Resource Processor by setting `logging_level=debug` under developer_settings section in your`config.yaml` file. -To enable debugging on an already running instance of the API: - -1. Go to App Service for the API and select **Settings > Configuration**. -1. Click the configuration with name **LOGGING_LEVEL** and set the **Value** to **DEBUG**. +Once set, you need to run `make deploy-core` to update the settings on the API and Resource Processor. You should start to see logs with severity level `0` appear in the Application Insights logs. diff --git a/resource_processor/vmss_porter/runner.py b/resource_processor/vmss_porter/runner.py index 5aaa00e09f..3ff6829cf3 100644 --- a/resource_processor/vmss_porter/runner.py +++ b/resource_processor/vmss_porter/runner.py @@ -108,8 +108,6 @@ async def run_porter(command, config: dict): *command ] - logger.debug(f'Porter command: {command}') - proc = await asyncio.create_subprocess_shell(''.join(command), stdout=asyncio.subprocess.PIPE, stderr=asyncio.subprocess.PIPE,