{"id":18753028,"url":"https://github.com/spotify/logging-java","last_synced_at":"2025-09-25T17:30:54.073Z","repository":{"id":16049756,"uuid":"18793762","full_name":"spotify/logging-java","owner":"spotify","description":"Utility classes to set up logging in a Spotify compatible way","archived":false,"fork":false,"pushed_at":"2024-12-20T15:34:32.000Z","size":163,"stargazers_count":22,"open_issues_count":4,"forks_count":25,"subscribers_count":99,"default_branch":"master","last_synced_at":"2025-01-16T04:11:06.799Z","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/spotify.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,"governance":null}},"created_at":"2014-04-15T09:01:12.000Z","updated_at":"2024-10-17T02:23:12.000Z","dependencies_parsed_at":"2023-01-13T18:40:42.285Z","dependency_job_id":"814bccfd-bde7-468c-9a92-f9b2cc11bb3f","html_url":"https://github.com/spotify/logging-java","commit_stats":null,"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spotify%2Flogging-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spotify%2Flogging-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spotify%2Flogging-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spotify%2Flogging-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spotify","download_url":"https://codeload.github.com/spotify/logging-java/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234220833,"owners_count":18798269,"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":[],"created_at":"2024-11-07T17:23:52.878Z","updated_at":"2025-09-25T17:30:54.068Z","avatar_url":"https://github.com/spotify.png","language":"Java","funding_links":[],"categories":["日志库"],"sub_categories":[],"readme":"# DEPRECATION NOTICE\n\nThis project is no longer actively maintained, and PRs will no longer be accepted.\n\n# spotify-logging\n===============\n\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.spotify/logging/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.spotify/logging) [![Build Status](https://img.shields.io/circleci/project/github/spotify/logging-java)](https://circleci.com/gh/spotify/logging-java)\n\nA small set of utility classes for setting up logback and a helper to\ncreate logging messages suitable for the Spotify internal log parsing\ninfrastructure.\n\n## Logstash Logback Encoder\n\nThe [logstash-logback-encoder](https://github.com/logstash/logstash-logback-encoder) is used to log\nin the JSON format.\n\nThe primary motivation is provide any Java service running inside a container with Kubernetes (k8s) or Helios a way\nto log in a structured format.\n\nThe general flow for a log message running on k8s is as follows.\n\n1. Log a message as part of your service code (e.g. `LOG.info()`).\n1. Logback configuration will output to the logs to stdout.\n1. Docker captures messages from stdout and logs to file.\n1. Fluentd reads from log file and sends to a logging service (e.g. elk stack, stackdriver, splunk, etc).\n\nInstead of writing directly to a given logging service we chose this approach to more easily switch between\nproviders without needing to modify as little code as possible.\n\n## License\n\nThis software is released under the Apache License 2.0. More information\nin the file LICENSE distributed with this project.\n\n## Ownership\n\nThe Weaver squad is currently owning this project internally.\nWe are currently in the evaluating process of the ownership of this and other OSS Java libraries.\nThe ownership takes into account **ONLY** security maintenance.\n\nThis repo is also co-owned by other people:\n\n* [mattnworb](https://github.com/mattnworb)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspotify%2Flogging-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspotify%2Flogging-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspotify%2Flogging-java/lists"}