Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support retrieving logs via date range #234

Open
YodaDaCoda opened this issue Aug 20, 2021 · 0 comments
Open

Support retrieving logs via date range #234

YodaDaCoda opened this issue Aug 20, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@YodaDaCoda
Copy link

Is your feature request related to a problem? Please describe.

Sometimes, when there is an intermittent issue, I have to set up debug logs for 24h and hope that the issue occurs. Once I identify the approximate time at which the issue occurs, I then have to download and review many log files for that time period (say, 45m). This can take a long time downloading each log individually - the current alternative is to download the last (say) 1000 logs just to get the 100 I'm interested in.

Describe the solution you'd like
As a developer, I want to be able to download all the logs for a specified time period rather than downloading them one-by-one.

Describe alternatives you've considered
I've used sfdx force:apex:log:list to spit out the logs, then pasted the output into vscode and used the multiline editing feature to put together a script to dump the logs each into separate files one-by-one. This is quicker than downloading one-at-a-time, but is still more labour intensive than I'd like, especially getting the filename format correct such that the OS doesn't complain of invalid characters or non-existant directories.

@randi274 randi274 added the enhancement New feature or request label Aug 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants