bunyan-logger

Koa middleware for bunyan request logging

MIT License

Downloads
24.7K
Stars
108
Committers
15

Bot releases are visible (Hide)

bunyan-logger - Update deps and add ignorePath option Latest Release

Published by sjmcdowall about 6 years ago

Thanks to @oleg-koval and others, a dusted off and updated version of this library. We are now solidly dependent on Koa V2 (which shouldn't be a big deal at this point). We have merged everything back to master as the new base and added linting, etc. The other enhancement is official support for the ignorePath option that could be very handy for those people who don't want to over use the log for every little thing.

bunyan-logger - 2.0.0

Published by jlai over 7 years ago

Supports koa 2.x

bunyan-logger - Fix passing req to logger

Published by jlai almost 9 years ago

Pass this.req instead of this.request to request logger. Update to latest bunyan.

bunyan-logger -

Published by jlai over 9 years ago

Changes req from this.request (koa request object) to this.req (node request object) and res from this.response to this.res. This changes which fields are logged; res now has statusCode instead of status, and res.header is now a string including the status line.

bunyan-logger -

Published by jlai almost 10 years ago

bunyan-logger - First release

Published by jlai almost 10 years ago

bunyan-logger -

Published by jlai almost 10 years ago