{"id":15383793,"url":"https://github.com/jamessimone/apex-log-gatherer","last_synced_at":"2026-02-09T22:32:12.180Z","repository":{"id":104777620,"uuid":"231444904","full_name":"jamessimone/apex-log-gatherer","owner":"jamessimone","description":"Gets exceptions generated by your Apex logs so that you can export them","archived":false,"fork":false,"pushed_at":"2020-03-12T01:09:53.000Z","size":5,"stargazers_count":10,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-21T16:20:04.787Z","etag":null,"topics":["apex","apex-class","apex-logs","salesforce","salesforce-apex","salesforce-api","salesforce-api-wrapper","salesforce-developers"],"latest_commit_sha":null,"homepage":null,"language":"Apex","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jamessimone.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-02T19:19:38.000Z","updated_at":"2024-05-11T16:36:01.000Z","dependencies_parsed_at":"2023-05-29T19:15:40.457Z","dependency_job_id":null,"html_url":"https://github.com/jamessimone/apex-log-gatherer","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"98da643842f38fa50eeb34f45a9990efd5822ebc"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jamessimone/apex-log-gatherer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamessimone%2Fapex-log-gatherer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamessimone%2Fapex-log-gatherer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamessimone%2Fapex-log-gatherer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamessimone%2Fapex-log-gatherer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jamessimone","download_url":"https://codeload.github.com/jamessimone/apex-log-gatherer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamessimone%2Fapex-log-gatherer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29283598,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T21:57:15.303Z","status":"ssl_error","status_checked_at":"2026-02-09T21:57:11.537Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apex","apex-class","apex-logs","salesforce","salesforce-apex","salesforce-api","salesforce-api-wrapper","salesforce-developers"],"created_at":"2024-10-01T14:39:41.446Z","updated_at":"2026-02-09T22:32:12.164Z","avatar_url":"https://github.com/jamessimone.png","language":"Apex","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Apex Log Gatherer\n\nGathering logs to export them from Salesforce, or even to view exceptions in one specific place, has historically been a painpoint of using SFDC. You can only view the Logs within setup, it's difficult to navigate there, and you can't perform any kind of programmatic logic based off an Apex object only available within the Tooling API.\n\nThis method is ready to be scheduled or used in other Apex to move your log data around / centralize the location of your exceptions.\n\n## Pre-requisites\n\n1. Deploy these classes to your Salesforce org\n2. Insert a blank record in AuditLog\\_\\_c\n3. You'll need to have active trace flags in order for this service to update them\n4. You'll need to add your Salesforce base URL to the `This.remoteSite` file in `src/remoteSiteSettings/This.remoteSite`\n\n## Notes\n\nYou can't debug the results of `ToolingApi.getLogs()` from within the Salesforce Developer Console. I've included `LogService` so that you can use an external service, like cURL or Postman, to display the log results, in the event that you wanted to do further processing; otherwise, you won't need the `LogService` class.\n\n## Testing\n\nForthcoming.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamessimone%2Fapex-log-gatherer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamessimone%2Fapex-log-gatherer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamessimone%2Fapex-log-gatherer/lists"}