Created
April 6, 2020 22:24
-
-
Save sfdcale/e87d3c5035322a6ea48d7c738d6fe05e to your computer and use it in GitHub Desktop.
Extend Debug log expiration time without going into the setup screen.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| StartDate=$(date -u +%Y-%m-%dT%H:%M:%S.000+0000) | |
| ExpirationDate=$(date -u -v+24H +%Y-%m-%dT%H:%M:%S.000+0000) | |
| #echo "StartDate=$StartDate ExpirationDate=$ExpirationDate" | |
| temp="StartDate=$StartDate ExpirationDate=$ExpirationDate" | |
| sfdx force:data:record:update -t -s TraceFlag -i <traceFlagIdGoesHere> -v $temp --targetusername=prod | |
| echo "Extended debug logs for Ramesh Ale" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment