Questions tagged [hapi-good]

3 questions
0
votes
1 answer

Get Hapi to Register @Hapi/Good Plugin Only Once

Hapi (v17 & 18) states that I can specify an option on server.register to make the plugin on get initialized once, regardless of however many times server.register is called with that plugin - link to docs. However, I have been unable to get this to…
technogeek1995
  • 3,185
  • 2
  • 31
  • 52
0
votes
1 answer

Hapi, good ald logstash: how to prevent crashes?

I have a Hapi installation which uses good as a logging plugin and good-logstash-tcp extension to send logs to logstash. My current problem is that logstash server may sometimes be unavailable, and that currently causes the whole server to crash…
Alex Kiselev
  • 552
  • 2
  • 7
  • 22
0
votes
1 answer

Glue + Good console not working [Hapi.js]

Here is my config.json code: { "connections": [ { "port": 3000 } ], "registrations": [ { "plugin": "./plugins/db" }, { "plugin": "good", "options":…
Vladimir Djukic
  • 925
  • 2
  • 9
  • 28