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

GoodConsole.prototype._report missing handler for 'log' event #26

Closed
dmh2000 opened this issue Dec 19, 2014 · 0 comments · Fixed by #27
Labels
bug
Milestone

Comments

@dmh2000
Copy link

@dmh2000 dmh2000 commented Dec 19, 2014

Running the hapi tutorial, it has a section to add the good and good-console plugins. However the log printout from the tutorial code is not what is expected. the tutorial expects :
"140625/143008.751, info, Server running at: http://localhost:3000"
but the example actually outputs
"Unknown event "log" occurred with timestamp 141219/185801.403"

this occurs because the good-console function _report does not have a handler for the 'log' event. it only has ops,response, error and request.

@arb arb added the bug label Dec 19, 2014
@arb arb added this to the 3.1.1 milestone Dec 19, 2014
arb added a commit to arb/good-console that referenced this issue Dec 19, 2014
arb added a commit to arb/good-console that referenced this issue Dec 19, 2014
@arb arb mentioned this issue Dec 19, 2014
@cjihrig cjihrig closed this in #27 Dec 19, 2014
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.