{"id":31758202,"url":"https://github.com/iepathos/logit","last_synced_at":"2026-07-30T03:31:21.308Z","repository":{"id":149676412,"uuid":"49793752","full_name":"iepathos/logit","owner":"iepathos","description":"Logit is an easy to use logging wrapper for command applications.","archived":false,"fork":false,"pushed_at":"2016-01-17T06:22:24.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-09T20:02:59.843Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/iepathos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-16T22:34:07.000Z","updated_at":"2016-01-16T22:34:17.000Z","dependencies_parsed_at":"2023-06-18T22:37:38.847Z","dependency_job_id":null,"html_url":"https://github.com/iepathos/logit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/iepathos/logit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iepathos%2Flogit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iepathos%2Flogit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iepathos%2Flogit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iepathos%2Flogit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iepathos","download_url":"https://codeload.github.com/iepathos/logit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iepathos%2Flogit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36059044,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-30T02:00:05.956Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-10-09T20:01:49.935Z","updated_at":"2026-07-30T03:31:21.244Z","avatar_url":"https://github.com/iepathos.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Logit\n-------\n\nLogit is an easy to use logging wrapper for command line applications.  Logit executes the command passed to it and writes a timestamp, the command executed and its output to a log file.  Logit is useful when you require dead simple timestamp logging added over the output from a command line application. Built using Python 3.4.3, should be compatible with earlier Python 3 releases, definitely compatible wth Python 3.5.1 as well.\n\n## Execute Logit\n\n````shell\npython3 logit.py \"echo test\" -l /custom/log/path.log\ncat /custom/log/path.log\n````\n\nThe default log path ~/logit.log is used if logit is called without any argument.\n\n````shell\npython3 logit.py \"curl -ks https://bitpay.com/api/rates | python -m json.tool\"\n````\n\n## Comands\n+ Specify log filename \"--log\" or \"-l\"\n+ Silence logit feedback output \"--silent\" or \"-s\"\n\n\n\n## Example\n\n````shell\n$ ./logit.py \"echo test\" -l test.log\nExecuting 'echo test'\nSaving output to log test.log\n$ cat test.log\n2016-01-16 22:35:27.375387 - Executing 'echo test'\ntest\n````\n\n\n## Crontab\n\n````shell\n0 6 * * * python3 logit.py \"brew cask update\" -l brewupdates.log\n\n````\n\n\n## Add symlink to bin for easier use\n\n````shell\n# os x\nln -s path/to/logit.py /usr/local/bin/logit\nlogit 'brew cask update'\n\n# debian-based\nsudo logit 'apt-get update'\n````\n\nLogit is Open Sourced under an MIT License.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiepathos%2Flogit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiepathos%2Flogit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiepathos%2Flogit/lists"}