{"id":15009066,"url":"https://github.com/andbin/logback-property-definer-demo","last_synced_at":"2026-03-16T07:06:37.737Z","repository":{"id":96100454,"uuid":"585969290","full_name":"andbin/logback-property-definer-demo","owner":"andbin","description":"A simple demo project that shows the implementation of property definers with the logback logging library","archived":false,"fork":false,"pushed_at":"2023-01-06T15:30:48.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-27T17:32:50.187Z","etag":null,"topics":["apache-maven","demo-application","java","java-11","logback"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":false,"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/andbin.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":"2023-01-06T15:30:02.000Z","updated_at":"2023-01-06T15:32:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"3f102f4c-82dc-424e-abe1-5b3c2d08ff08","html_url":"https://github.com/andbin/logback-property-definer-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andbin/logback-property-definer-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andbin%2Flogback-property-definer-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andbin%2Flogback-property-definer-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andbin%2Flogback-property-definer-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andbin%2Flogback-property-definer-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andbin","download_url":"https://codeload.github.com/andbin/logback-property-definer-demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andbin%2Flogback-property-definer-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30571225,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-16T06:02:37.763Z","status":"ssl_error","status_checked_at":"2026-03-16T06:02:14.913Z","response_time":96,"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":["apache-maven","demo-application","java","java-11","logback"],"created_at":"2024-09-24T19:22:46.904Z","updated_at":"2026-03-16T07:06:37.730Z","avatar_url":"https://github.com/andbin.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca name=\"\"\u003e![Java 11](https://img.shields.io/badge/Java-11-cd853f \"Java 11\")\u003c/a\u003e\n\u003ca name=\"\"\u003e![Built with Apache Maven](https://img.shields.io/badge/Built%20with-Apache%20Maven-f76504 \"Built with Apache Maven\")\u003c/a\u003e\n\u003ca name=\"\"\u003e![MIT License](https://img.shields.io/badge/License-MIT-1081c1 \"MIT License\")\u003c/a\u003e\n\n# Logback property definer demo\n\nThis is a simple demo project that shows the implementation of *property definers* with the **[logback](https://logback.qos.ch)** logging library. The main purpose of this project is the definition of a custom dynamic property named `vmId` that contains the identifier of the running JVM instance. This property is then configured in the `logback.xml` configuration file and logged on all log records.\n\nThis tecnique has been described in my blog article **[Implementation of property definers with logback](https://andbin.dev/java/logback-property-definers)**.\n\nSee the project files:\n\n* [VmIdPropertyDefiner.java](src/main/java/dev/andbin/logbackdemo/VmIdPropertyDefiner.java), the class that implements the `PropertyDefiner` interface provided by logback\n* [logback.xml](src/main/resources/logback.xml), the logback configuration file\n* [Main.java](src/main/java/dev/andbin/logbackdemo/Main.java), the “main” class that can be used to verify the logging output\n\n## License\n\nThis project is released under the **MIT License**, a very *permissive* free software license.\n\nSee the full text of the license: **[LICENSE.txt](LICENSE.txt)**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandbin%2Flogback-property-definer-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandbin%2Flogback-property-definer-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandbin%2Flogback-property-definer-demo/lists"}