nlf / bucker

A simple logging library for node.js
82 stars 28 forks source link

Logging request/response in Hapi like good #47

Open SundarNatarajan opened 7 years ago

SundarNatarajan commented 7 years ago

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 commented 7 years ago

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!