{"id":34024673,"url":"https://github.com/tierpod/easylogconfig","last_synced_at":"2026-04-09T00:32:41.017Z","repository":{"id":57425143,"uuid":"176944127","full_name":"tierpod/easylogconfig","owner":"tierpod","description":"Simple configuration for standart logging module","archived":false,"fork":false,"pushed_at":"2022-08-26T18:44:42.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-15T06:39:23.207Z","etag":null,"topics":["log","logging","logging-library","python","rotate-file","stdout","syslog"],"latest_commit_sha":null,"homepage":"","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/tierpod.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}},"created_at":"2019-03-21T12:53:26.000Z","updated_at":"2022-08-26T17:58:18.000Z","dependencies_parsed_at":"2022-09-11T18:12:02.621Z","dependency_job_id":null,"html_url":"https://github.com/tierpod/easylogconfig","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/tierpod/easylogconfig","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tierpod%2Feasylogconfig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tierpod%2Feasylogconfig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tierpod%2Feasylogconfig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tierpod%2Feasylogconfig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tierpod","download_url":"https://codeload.github.com/tierpod/easylogconfig/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tierpod%2Feasylogconfig/sbom","scorecard":{"id":884973,"data":{"date":"2025-08-11","repo":{"name":"github.com/tierpod/easylogconfig","commit":"41bd8840b7fe90f4ac60f7db8f9aabed372a2429"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.7,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/23 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: containerImage not pinned by hash: rpm/Dockerfile:1: pin your Docker image by updating oraclelinux:8 to oraclelinux:8@sha256:a3b7b0a3eb9dc7c7819716b254991d9cc179d19bebf770da4482ad6a25199790","Info:   0 out of   1 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2022-43017 / GHSA-qwmp-2cf2-g9g6"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-24T09:39:49.854Z","repository_id":57425143,"created_at":"2025-08-24T09:39:49.854Z","updated_at":"2025-08-24T09:39:49.854Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31579984,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["log","logging","logging-library","python","rotate-file","stdout","syslog"],"created_at":"2025-12-13T16:33:35.732Z","updated_at":"2026-04-09T00:32:41.006Z","avatar_url":"https://github.com/tierpod.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"easylogconfig\n=============\n\nThis python library provides simple wrapper for standart logging module.\n\nIf you want something more than \"logging.basicConfig\", but don't want to read a lot of\n[documentation][1] and write a lot of code.\n\n**WARNING** Since v0.2 python 2 is not supported anymore.\n\nUsage\n-----\n\nYou can find examples in ./examples directory\n\n```python\nimport logging\nimport easylogconfig\n\nlog = logging.getLogger(__name__)\n\n# print messages to the stdout, add debug level\neasylogconfig.auto(debug=True)\n# or print messages to the syslog\neasylogconfig.auto(syslog_tag=\"example_tag\")\n# or log messages to remote syslog server\neasylogconfig.auto(syslog_tag=\"example_tag\", syslog_address=(\"127.0.0.1\", 514))\n# or print messages to the file without datetime but with thread names\neasylogconfig.auto(file_name=\"/var/log/example.log\", file_backup_count=30,\n                   datetime=False, thread=True)\n\nlog.info(\"info message\")\nlog.debug(\"debug message\")\n\n# output format:\n# 2019-03-22/10:17:28 INFO    info message\n```\n\nConfiguration\n-------------\n\nLibrary provides one simple function **auto** with arguments:\n\n* formatter arguments:\n  * *debug=False*: add debug messages to output?\n  * *thread=False*: add thread names to messages?\n  * *datetime=True*: add datetime to messages?\n  * *level=False*: add level names to messages?\n* [SysLogHandler][2] arguments:\n  * **syslog_tag=None**: if set to str, log messages to syslog with this tag\n  * *syslog_address=\"/dev/log\"*: syslog server address. By default, it sends syslog messages via\n    `/dev/log` file. It can be set to string (ip address or hostname, in this case default 514 port\n    is used), or to Tuple[str, int] (like [logging.handlers.SysLogHandler][2])\n* [TimedRotatingFileHandler][3] arguments:\n  * **file_name=None**: if set to str, log messages to this tile\n  * *file_when=\"midnight\"*: file rotating time\n  * *file_backup_count=7*: keep last files\n\nLog handlers configuration rules:\n\n* *StreamHandler* will be used if **syslog_tag** or **file_name** are omitted or empty strings\n* *SysLogHandler* will be used if **syslog_tag** is set to none-empty string\n* *TimedRotatingFileHandler* will be used if **file_name** is set to none-empty string\n* *ValueError* will be raised if both **syslog_tag** and **file_name** are set to none-empty string\n\nInstallation\n------------\n\n```bash\npython3 -m pip install -U easylogconfig\n# or\npython3 -m pip install -U git+https://github.com/tierpod/easylogconfig#egg=easylogconfig\n```\n\nDevelopment\n-----------\n\n```bash\nmake venv\nsource ./venv/bin/activate\n(venv) make init-dev init\n```\n\n[1]: https://docs.python.org/3.6/howto/logging.html\n[2]: https://docs.python.org/3.6/library/logging.handlers.html#logging.handlers.SysLogHandler\n[3]: https://docs.python.org/3.6/library/logging.handlers.html#timedrotatingfilehandler\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftierpod%2Feasylogconfig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftierpod%2Feasylogconfig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftierpod%2Feasylogconfig/lists"}