Skip to content

Commit

Permalink
Remove debug that could include credentials.
Browse files Browse the repository at this point in the history
  • Loading branch information
marrobi committed Nov 30, 2023
1 parent 45356c1 commit 4b53dfb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 1 addition & 4 deletions docs/troubleshooting-faq/debug-logs.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
2 changes: 0 additions & 2 deletions resource_processor/vmss_porter/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4b53dfb

Please sign in to comment.