Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duration of HTTP requests is not displayed in the logs (NaNms) #629

Closed
AntoineAA opened this issue Oct 9, 2019 · 0 comments
Closed

Duration of HTTP requests is not displayed in the logs (NaNms) #629

AntoineAA opened this issue Oct 9, 2019 · 0 comments
Assignees
Labels
bug
Milestone

Comments

@AntoineAA
Copy link

@AntoineAA AntoineAA commented Oct 9, 2019

Support plan

  • which support plan is this issue covered by? (e.g. Community, Core, Plus, or Enterprise): Community
  • is this issue currently blocking your project? (yes/no): no
  • is this issue affecting a production system? (yes/no): yes

Context

  • node version: 8.16.1
  • module version with issue: 8.2.3
  • last module version without issue: 8.2.2
  • environment (e.g. node, browser, native): node
  • used with (e.g. hapi application, another framework, standalone, ...): hapi application
  • any other relevant information:

What are you trying to achieve or the steps to reproduce?

The logs display NaNms instead of the real HTTP request duration.
Edit: it happens with hapi v17.9.0

What was the result you got?

http://localhost:3000: get / {} 200 (NaNms)

What result did you expect?

http://localhost:3000: get / {} 200 (27ms)
@AntoineAA AntoineAA added the support label Oct 9, 2019
@hueniverse hueniverse self-assigned this Oct 11, 2019
@hueniverse hueniverse added bug and removed support labels Oct 11, 2019
@hueniverse hueniverse modified the milestones: 8.2.3, 8.2.4 Oct 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.