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

Logging request/response in Hapi like good #47

Open
SundarNatarajan opened this issue Jan 25, 2017 · 1 comment
Open

Logging request/response in Hapi like good #47

SundarNatarajan opened this issue Jan 25, 2017 · 1 comment

Comments

@SundarNatarajan
Copy link

SundarNatarajan commented Jan 25, 2017

Is there any way to log the request and response tracking in Hapi.js like Good

170125/192830.995, [response] http://localhost:8080: get /swaggerui/images/favicon-16x16.png {} 304 (4ms)

As a separate logging functionality, it;s fine.

I am asking like

register: bucker,
options: {
response: 'response.log',
access: 'access.log',
error: 'error.log',
app: { file: 'app.log' },
console: true
}

@nlf
Copy link
Owner

nlf commented Jan 25, 2017

i'm gonna be honest here, i've actually been using good for most things myself.. i have had a couple of projects where reviving bucker would be useful though. if i end up doing it, i'll make sure the hapi plugin has this feature. thanks for reaching out! i hadn't really thought about this module in quite a while!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants