{"id":34054382,"url":"https://github.com/kehr/loggerserver","last_synced_at":"2026-04-11T10:01:48.757Z","repository":{"id":57438799,"uuid":"110812850","full_name":"kehr/LoggerServer","owner":"kehr","description":"An async TCP logging server base on tornado.ioloop, which serve for logging.handlers.SocketHandler.","archived":false,"fork":false,"pushed_at":"2018-01-02T09:45:20.000Z","size":26,"stargazers_count":21,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-12-08T18:25:02.428Z","etag":null,"topics":["ioloop","logging","logging-server","tcpserver"],"latest_commit_sha":null,"homepage":"http://loggerserver.readthedocs.io/","language":"Python","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/kehr.png","metadata":{"files":{"readme":"README.rst","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":"2017-11-15T09:29:00.000Z","updated_at":"2024-12-27T03:01:39.000Z","dependencies_parsed_at":"2022-09-06T16:01:51.391Z","dependency_job_id":null,"html_url":"https://github.com/kehr/LoggerServer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kehr/LoggerServer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kehr%2FLoggerServer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kehr%2FLoggerServer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kehr%2FLoggerServer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kehr%2FLoggerServer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kehr","download_url":"https://codeload.github.com/kehr/LoggerServer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kehr%2FLoggerServer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31676210,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T08:18:19.405Z","status":"ssl_error","status_checked_at":"2026-04-11T08:17:08.892Z","response_time":54,"last_error":"SSL_read: 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":["ioloop","logging","logging-server","tcpserver"],"created_at":"2025-12-14T02:08:35.822Z","updated_at":"2026-04-11T10:01:48.715Z","avatar_url":"https://github.com/kehr.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"LoggerServer\n============\n\nAn async TCP logging server base on tornado.ioloop, which serve for logging.handlers.SocketHandler.\n\nIntroduce\n---------\n\nTo solve `Python separate processes logging to same file \u003chttps://stackoverflow.com/questions/15096090/python-separate-processes-logging-to-same-file/47323076\u003e`_.\n\nOfficial description::\n\n    Although logging is thread-safe, and logging to a single file from multiple threads in a single process is supported,\n    logging to a single file from multiple processes is not supported, because there is no standard way to serialize access\n    to a single file across multiple processes in Python. If you need to log to a single file from multiple processes, one\n    way of doing this is to have all the processes log to a SocketHandler, and have a separate process which implements a\n    socket server which reads from the socket and logs to file.\n\nReference: `logging cookbook \u003chttps://docs.python.org/3/howto/logging-cookbook.html#logging-to-a-single-file-from-multiple-processes\u003e`_\n\n\n``LoggerServer`` use ``tornado`` build a high-performance TCP logging server to slove this problem.\n\n\nInstalll\n-------------\n\nInstall `LoggerServer` by `pip`\n\n.. code-block:: shell\n\n    pip install logger_server\n\n\nDocumentation\n-------------\n\nSee `LoggerServer Documentation \u003chttp://loggerserver.readthedocs.io/\u003e`_.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkehr%2Floggerserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkehr%2Floggerserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkehr%2Floggerserver/lists"}