• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

facebookincubator / TTPForge / 18419225487
66%
main: 67%

Build:
Build:
LAST BUILD BRANCH: export-D89671295
DEFAULT BRANCH: main
Ran 10 Oct 2025 09:50PM UTC
Jobs 1
Files 69
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

10 Oct 2025 09:49PM UTC coverage: 66.035%. First build
18419225487

Pull #563

github

facebook-github-bot
Bugfix: Logger config not being respected

Summary:
We currently make two calls to initialize the logger in this order:
- when the logger package is imported with a default configuration
- when we have initialized the configuration with the config we just initialized

However, currently we have wrapped the logger initialization in a do once.  This led to us always setting up a logger with default configurations and ignoring the second call with the configs we actually want.

I opted to remove the init function (which is called when the package is loaded) and instead have the call for the global logger create a new empty config logger if one does not exist yet.   In this case, this means we'll always yield to a provided config, but also that tests can just request and receive a standard logger without needing to create one manually in every test.

Differential Revision: D84361195
Pull Request #563: Bugfix: Logger config not being respected

2 of 7 new or added lines in 1 file covered. (28.57%)

2718 of 4116 relevant lines covered (66.03%)

16.65 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
5
62.07
pkg/logging/logger.go
Jobs
ID Job ID Ran Files Coverage
1 18419225487.1 10 Oct 2025 09:50PM UTC 69
66.03
GitHub Action Run
Source Files on build 18419225487
  • Tree
  • List 69
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #563
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc