{"id":24253420,"url":"https://github.com/msz/capture_log_config_reproduction","last_synced_at":"2026-05-07T23:05:09.335Z","repository":{"id":205313950,"uuid":"658895958","full_name":"msz/capture_log_config_reproduction","owner":"msz","description":null,"archived":false,"fork":false,"pushed_at":"2023-06-26T18:02:26.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-15T03:58:27.117Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/msz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-06-26T18:02:16.000Z","updated_at":"2023-06-26T18:02:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"20c27b50-201d-4001-a2a6-7c2991c72fe9","html_url":"https://github.com/msz/capture_log_config_reproduction","commit_stats":null,"previous_names":["msz/capture_log_config_reproduction"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msz%2Fcapture_log_config_reproduction","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msz%2Fcapture_log_config_reproduction/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msz%2Fcapture_log_config_reproduction/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msz%2Fcapture_log_config_reproduction/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/msz","download_url":"https://codeload.github.com/msz/capture_log_config_reproduction/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241898232,"owners_count":20039068,"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":"2025-01-15T03:27:36.259Z","updated_at":"2026-05-07T23:05:09.290Z","avatar_url":"https://github.com/msz.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Elixir 1.15.0 capture_log option bug reproduction\n\nThis is a reproduction of an Elixir 1.15.0 bug where `capture_log` options no\nlonger affect Logger configuration when `capture_log` is set to `true` in ExUnit\nconfiguration.\n\nIt sets a custom format through `capture_log` which consists just of the\nmessage. On Elixir 1.14.5, the format is respected, while on Elixir 1.15.0 the\ndefault format is used.\n\nTo reproduce, clone this repository and `cd` into it. Then running these\ncommands should give you the following:\n\n**Elixir 1.14.5**:\n```\ncapture_log_config_reproduction % docker run -v $(pwd):/repro --workdir /repro elixir:1.14.5 mix test --force\nCompiling 1 file (.ex)\nGenerated capture_log_config_reproduction app\n..\nFinished in 0.03 seconds (0.00s async, 0.03s sync)\n1 doctest, 1 test, 0 failures\n\nRandomized with seed 712722\n\n```\n\n**Elixir 1.15.0**:\n```\ncapture_log_config_reproduction % docker run -v $(pwd):/repro --workdir /repro elixir:1.15.0 mix test --force\nCompiling 1 file (.ex)\nGenerated capture_log_config_reproduction app\n.\n\n  1) test greets the world (CaptureLogConfigReproductionTest)\n     test/capture_log_config_reproduction_test.exs:7\n     Assertion with == failed\n     code:  assert log == \"This is a log\\n\"\n     left:  \"\\n17:54:11.695 [info] This is a log\\n\"\n     right: \"This is a log\\n\"\n     stacktrace:\n       test/capture_log_config_reproduction_test.exs:10: (test)\n\n     The following output was logged:\n\n     17:54:11.695 [info] This is a log\n\n\nFinished in 0.03 seconds (0.00s async, 0.03s sync)\n1 doctest, 1 test, 1 failure\n\nRandomized with seed 638954\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsz%2Fcapture_log_config_reproduction","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmsz%2Fcapture_log_config_reproduction","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsz%2Fcapture_log_config_reproduction/lists"}