{"id":22348751,"url":"https://github.com/svycal/slim_logger","last_synced_at":"2026-02-12T11:37:57.125Z","repository":{"id":58687909,"uuid":"526704930","full_name":"svycal/slim_logger","owner":"svycal","description":"A single-line logger implementation to replace the default Phoenix.Logger","archived":false,"fork":false,"pushed_at":"2024-11-22T17:25:33.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-28T18:13:53.327Z","etag":null,"topics":["elixir","logger","phoenix"],"latest_commit_sha":null,"homepage":"https://hexdocs.pm/slim_logger","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/svycal.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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,"zenodo":null}},"created_at":"2022-08-19T17:58:14.000Z","updated_at":"2024-11-16T19:52:08.000Z","dependencies_parsed_at":"2025-07-30T06:31:18.001Z","dependency_job_id":"95473779-23d6-4e92-9fbc-da9f8fbc39bd","html_url":"https://github.com/svycal/slim_logger","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/svycal/slim_logger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svycal%2Fslim_logger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svycal%2Fslim_logger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svycal%2Fslim_logger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svycal%2Fslim_logger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/svycal","download_url":"https://codeload.github.com/svycal/slim_logger/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svycal%2Fslim_logger/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29364660,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T08:51:36.827Z","status":"ssl_error","status_checked_at":"2026-02-12T08:51:26.849Z","response_time":55,"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":["elixir","logger","phoenix"],"created_at":"2024-12-04T11:06:22.823Z","updated_at":"2026-02-12T11:37:57.111Z","avatar_url":"https://github.com/svycal.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Slim Logger [![Hex Docs](https://img.shields.io/hexpm/v/slim_logger)](https://hexdocs.pm/slim_logger/readme.html)\n\nA single-line logger implementation to replace the default Phoenix logger.\n\nThis is a fork of `Phoenix.Logger` designed to produce slimmer, single-line log entries for requests. At the moment, only standard request logs have been slimmed down.\n\n## Installation\n\nThe package can be installed by adding `slim_logger` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:slim_logger, \"~\u003e 0.3.0\"}\n  ]\nend\n```\n\nTo get started, disable the default Phoenix logger in config:\n\n```elixir\n# config/config.exs\n\n# Disable the default `Phoenix.Logger` so we can use `SlimLogger` instead.\nconfig :phoenix, :logger, false\n```\n\nThen, in your application file, call the install function:\n\n```elixir\n# lib/my_app/application.ex\n\ndefmodule MyApp.Application do\n  use Application\n\n  @impl true\n  def start(_type, _args) do\n    children = [\n      # ...\n    ]\n\n    # Install the slim logger\n    SlimLogger.install()\n\n    opts = [strategy: :one_for_one, name: MyApp.Supervisor]\n    Supervisor.start_link(children, opts)\n  end\nend\n```\n\nIf your application is deployed behind a proxy (that sets `X-Forwarded-For` headers, for example), use the [RemoteIp](https://hexdocs.pm/remote_ip/RemoteIp.html) to rewrite `Plug.Conn`'\ns `remote_ip` based on forwarding headers.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvycal%2Fslim_logger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsvycal%2Fslim_logger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvycal%2Fslim_logger/lists"}