Salesforce의 TraceFlag
Feb 07 2023
.
- Apex 코드 디버깅 — 추적 플래그는 실행에 대한 자세한 로그를 제공하여 개발자가 Apex 코드의 문제를 식별하고 해결하는 데 도움이 됩니다.
- 성능 분석 — 추적 플래그를 통해 개발자는 Apex 코드의 성능을 모니터링하고 병목 현상이나 비효율성을 식별할 수 있습니다.
- 통합 문제 디버깅 - 추적 플래그를 사용하여 Salesforce와 다른 시스템 간의 통합 문제를 디버깅할 수 있습니다.
#!/bin/bash
myAlias=<fill your alias here>
for row in $(sfdx force:data:soql:query -q "SELECT Id FROM TraceFlag" --usetoolingapi --resultformat "json" | jq -r '.result.records | .[].Id' )
do
echo sfdx force:data:record:delete --sobjecttype TraceFlag --sobjectid ${row} --targetusername ${myAlias}
sfdx force:data:record:delete --usetoolingapi --sobjecttype TraceFlag --sobjectid ${row} --targetusername ${myAlias}
done

![연결된 목록이란 무엇입니까? [1 부]](https://post.nghiatu.com/assets/images/m/max/724/1*Xokk6XOjWyIGCBujkJsCzQ.jpeg)



































