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

load: undefined #111

jmonster opened this issue Feb 5, 2014 · 2 comments

load: undefined #111

jmonster opened this issue Feb 5, 2014 · 2 comments


Copy link

@jmonster jmonster commented Feb 5, 2014

I started seeing load: undefined print out when I moved to hapi 2.x + good 1.x

140205/221945.132, ops, memory: 72M uptime (seconds): 2762.54082292784load: undefined
140205/222000.133, ops, memory: 73M uptime (seconds): 2777.541325445287load: undefined
140205/222015.141, ops, memory: 72M uptime (seconds): 2792.5491037797183load: undefined
140205/222030.142, ops, memory: 72M uptime (seconds): 2807.550354591571load: undefined
140205/222045.143, ops, memory: 69M uptime (seconds): 2822.5512211993337load: undefined

For reference, my server logic is:

if (process.env.NODE_ENV === 'production') {
  subscribers = {
    'console': ['ops', 'log', 'error'],
    '/path/tp/error.log':  ['error']
} else {
  subscribers = {
    'console': ['ops', 'request', 'log', 'error']

var goodOptions = {
  subscribers: subscribers
server.pack.require('good', goodOptions, function (err) {
  if (!err) { /* Plugin loaded successfully */ }

I'm using hapi 2.1.2 and good 1.0.0

@hueniverse hueniverse added the bug label Feb 8, 2014

This comment has been minimized.

Copy link

@lloydbenson lloydbenson commented Feb 10, 2014

Hi jmonster thanks for letting us know! I have submitted a PR to fix this and its being reviewed.

@hueniverse hueniverse added this to the 2.0.0 milestone Mar 13, 2014

This comment has been minimized.

Copy link

@hueniverse hueniverse commented Mar 13, 2014

Closed by #112

@hueniverse hueniverse closed this Mar 13, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.