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

pinojs / pino-http / 224
99%

Build:
DEFAULT BRANCH: master
Ran 14 Feb 2020 03:28PM UTC
Jobs 3
Files 1
Run time 33s
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

pending completion
224

push

travis-ci

web-flow
Add autologgingOptions to ignore certain paths like those for health checks. (#77)

* allow to configure autologging to ignore certain paths.
This is useful when the request is made against a health check, which we do not want to log (because it would fill our log unnecessarily, unless it fails).

* adding documentation for new autologgingOptions

* reduce checks for autoLoggingOptions.ignorePath and replace .find by for(;;) because is faster.

* pass the url validation to the middleware (better place) and then just assign a flag to be read later

* avoid finished event on ignored path

* remove comment, not valid anymore

* init variable to the beginning.

* do not use regex (slower), use exact matches (as recommended by code reviews)

* adding require to URL

* improving explanation for ignorePaths

* replace Node#URL by fast-url-parser (6x faster) https://github.com/Juntoz/test-url-parse

* replace autoLoggingOptions with autoLogging that now can accept true, false or options

* reformat get ignorepaths

52 of 54 branches covered (96.3%)

8 of 8 new or added lines in 1 file covered. (100.0%)

67 of 68 relevant lines covered (98.53%)

52.9 hits per line

Jobs
ID Job ID Ran Files Coverage
1 224.1 14 Feb 2020 03:28PM UTC 0
98.53
Travis Job 224.1
2 224.2 14 Feb 2020 03:28PM UTC 0
98.53
Travis Job 224.2
3 224.3 14 Feb 2020 03:28PM UTC 0
98.53
Travis Job 224.3
Source Files on build 224
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #224
  • 7a59b7aa on github
  • Prev Build on master (#212)
  • Next Build on master (#225)
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

© 2025 Coveralls, Inc