{"id":19537037,"url":"https://github.com/cqsupport/greplog","last_synced_at":"2025-04-26T14:37:13.554Z","repository":{"id":148943140,"uuid":"53701369","full_name":"cqsupport/greplog","owner":"cqsupport","description":"Script for grepping the AEM error log.","archived":false,"fork":false,"pushed_at":"2018-02-08T00:01:27.000Z","size":11,"stargazers_count":6,"open_issues_count":0,"forks_count":3,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-04T14:43:54.673Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cqsupport.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":"2016-03-11T22:48:29.000Z","updated_at":"2022-10-24T19:30:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"fd0734cf-864d-45f6-a24d-7a65d955c1b5","html_url":"https://github.com/cqsupport/greplog","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cqsupport%2Fgreplog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cqsupport%2Fgreplog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cqsupport%2Fgreplog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cqsupport%2Fgreplog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cqsupport","download_url":"https://codeload.github.com/cqsupport/greplog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251002001,"owners_count":21521076,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-11T02:25:37.686Z","updated_at":"2025-04-26T14:37:13.502Z","avatar_url":"https://github.com/cqsupport.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# greplog\nScript for grepping Sling, CQ5.x and AEM6.x error log files.  The script outputs the log messages and their stack traces and allows filtering by regex and by date/time range.\n\n\n```\nUsage: php greplog.php -f \u003clog-file-path\u003e [options]\n-f: log file path\n-l: log level: This filters the log messages by log level.  Possible values are DEBUG, DEBUG-ONLY, INFO, INFO-ONLY, WARN, WARN-ONLY, ERROR.  Default value is ERROR.\n-s: search string: Filter log messages by string.\n-x: exclude regular expression: Exclude log messages by regular expression. Example value \"/Exclude 1|Exclude 2/\"\n-r: search regular expression: Filter log messages by regular expression. Example value \"/Include 1|Include 2/\"\n-n: show line numbers\n-H: show filename\n-b: beginning time: This filters log messages by only including messages that come after the time specified.  Example value \"01.03.2011 15:09:51\".  The format is dd.mm.yyyy hh.mm.ss\n-e: end time: This filters log messages by only including messages that come before the time specified.  Example value \"01.03.2011 15:09:51\". The format is dd.mm.yyyy hh.mm.ss\n```\n\n### Example\nSearch replication.log for all log messages that exclude the terms \"reverse\" and \"publish5\"\n```\nphp greplog.php -f replication.log -l info -x \"/reverse|publish5/\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcqsupport%2Fgreplog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcqsupport%2Fgreplog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcqsupport%2Fgreplog/lists"}