{"id":25301758,"url":"https://github.com/ahus1/logging-and-tracing","last_synced_at":"2025-04-07T01:28:48.236Z","repository":{"id":45157277,"uuid":"73020612","full_name":"ahus1/logging-and-tracing","owner":"ahus1","description":"Logging and Tracing - with Log4j and Zipkin","archived":false,"fork":false,"pushed_at":"2022-01-04T16:56:00.000Z","size":33,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-04T00:30:57.190Z","etag":null,"topics":["spring-sleuth","zipkin"],"latest_commit_sha":null,"homepage":"","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/ahus1.png","metadata":{"files":{"readme":"README.adoc","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":"2016-11-06T21:36:52.000Z","updated_at":"2022-01-04T16:55:55.000Z","dependencies_parsed_at":"2022-09-22T18:02:39.780Z","dependency_job_id":null,"html_url":"https://github.com/ahus1/logging-and-tracing","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahus1%2Flogging-and-tracing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahus1%2Flogging-and-tracing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahus1%2Flogging-and-tracing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahus1%2Flogging-and-tracing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ahus1","download_url":"https://codeload.github.com/ahus1/logging-and-tracing/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247576856,"owners_count":20961047,"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","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":["spring-sleuth","zipkin"],"created_at":"2025-02-13T06:49:00.549Z","updated_at":"2025-04-07T01:28:48.214Z","avatar_url":"https://github.com/ahus1.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"= Logging and tracing with Context - comparing Log4j and Zipkin\n\n== About\n\nThis is an examples project for logging and tracing with Log4j and Zipkin.\n\nThis is an add-on to a talk I presented.\n\nEnglish slides::\nhttps://speakerdeck.com/ahus1/logging-and-tracing-with-context-information-log4j-zipkin-and-spring-sleuth\n\nGerman slides::\nhttps://speakerdeck.com/ahus1/logging-und-tracing-mit-kontextinformationen\n\nEnglish acticle published in Dutch Java User Group Java Magazine::\nhttp://www.ahus1.de/pdf/16_19LoggingandTracingwithContextInformation.pdf[Logging and Tracing with Context Information]\n\nGerman acticle published on Heise Developer::\nhttps://www.heise.de/developer/artikel/Logging-und-Tracing-mit-Kontextinformation-fuer-Java-Entwickler-3686586.html[Logging und Tracing mit Kontextinformation für Java-Entwickler]\n\n== Disclaimer\n\nThis code is presented as examples for learning and not as ready-to-use production code.\n\n== Running the examples\n\nDuring my talks I usually run the examples from my IntelliJ IDE.\nMatching run configurations are part of this repository.\nThis makes it easy to explore and debug them.\n\nOnce the examples run you can point your browser to the following URL: http://localhost:8080/\n\nTo run the Zipkin example you'll need to have a Zipkin server up-and-running (for testing an instance started with Docker will do).\n\nYou can run the examples from the command line like this:\n\n----\nmvn -am -pl 10_simple spring-boot:run\nmvn -am -pl 20_programmatic_mdc spring-boot:run\nmvn -am -pl 30_interceptors spring-boot:run\nmvn -am -pl 40_sleuth spring-boot:run\n----\n\nThe last example runs two services on different ports in two different processes.\nTherefore two commands are necessary to be run in different terminals:\n----\nmvn -am -pl 50_zipkin spring-boot:run\nmvn -am -pl 50_zipkin spring-boot:run@run-external\n----\n\n== License\n\nCopyright 2016-2017 Alexander Schwartz\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n\u003chttp://www.apache.org/licenses/LICENSE-2.0\u003e\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahus1%2Flogging-and-tracing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahus1%2Flogging-and-tracing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahus1%2Flogging-and-tracing/lists"}