Skip to content

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

@AntoineAA

Description

@AntoineAA

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)

Metadata

Metadata

Assignees

Labels

bugBug or defect

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions