{"id":19219489,"url":"https://github.com/jvmbytes/springboot-logging-aliyun-loghub-starter","last_synced_at":"2025-08-22T12:40:06.378Z","repository":{"id":43386743,"uuid":"123244367","full_name":"jvmbytes/springboot-logging-aliyun-loghub-starter","owner":"jvmbytes","description":"springboot logging aliyun loghub starter","archived":false,"fork":false,"pushed_at":"2023-11-28T20:57:31.000Z","size":19,"stargazers_count":3,"open_issues_count":2,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-15T19:14:26.334Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/jvmbytes.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-02-28T07:07:09.000Z","updated_at":"2023-03-01T02:38:03.000Z","dependencies_parsed_at":"2024-11-09T14:44:04.003Z","dependency_job_id":null,"html_url":"https://github.com/jvmbytes/springboot-logging-aliyun-loghub-starter","commit_stats":null,"previous_names":["jvmbytes/springboot-logging-aliyun-loghub-starter","wongoo/springboot-logging-aliyun-loghub-starter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jvmbytes/springboot-logging-aliyun-loghub-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jvmbytes%2Fspringboot-logging-aliyun-loghub-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jvmbytes%2Fspringboot-logging-aliyun-loghub-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jvmbytes%2Fspringboot-logging-aliyun-loghub-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jvmbytes%2Fspringboot-logging-aliyun-loghub-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jvmbytes","download_url":"https://codeload.github.com/jvmbytes/springboot-logging-aliyun-loghub-starter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jvmbytes%2Fspringboot-logging-aliyun-loghub-starter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271641307,"owners_count":24795345,"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","status":"online","status_checked_at":"2025-08-22T02:00:08.480Z","response_time":65,"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":"2024-11-09T14:31:39.252Z","updated_at":"2025-08-22T12:40:06.352Z","avatar_url":"https://github.com/jvmbytes.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# spring boot logback log to aliyun loghub\n\n**NOT update in time, any pull request is welcome!**\n\n##  Usage\n\n**First**, copy the [logback-spring.xml](https://raw.githubusercontent.com/wongoo/springboot-logging-aliyun-loghub-starter/master/src/main/resources/logback-spring.xml)\nto your project. \n**NOTE: NOT change the file name!** \nlogback find config file orderly, it will find `logback-spring.xml` first \nthan `logback.xml`. So your can package and upload this library to repository,\nand add maven dependency to overwrite the config `logback.xml` in your project.\n\n**Then**, add loghub config:\n```\nspring.application.name=test\n\nloghub.enable=true\nloghub.console_output_logback_status=true\nloghub.disable_other_appenders=false\nloghub.endpoint=http://cn-shenzhen.log.aliyuncs.com\nloghub.access_key_id=mykeyid\nloghub.access_key=mykey\nloghub.project_name=myproject\nloghub.log_store=mylogstore\nloghub.topic=${spring.application.name}\n```\n\nNOTE: loghub appender will enable only when `loghub.enable!=false`  and `loghub.endpoint` configured.\n\n## Reference:\n- aliyun-log-logback-appender, https://github.com/aliyun/aliyun-log-logback-appender\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjvmbytes%2Fspringboot-logging-aliyun-loghub-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjvmbytes%2Fspringboot-logging-aliyun-loghub-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjvmbytes%2Fspringboot-logging-aliyun-loghub-starter/lists"}