bithavoc / express-winston

express.js middleware for winstonjs
https://www.npmjs.com/package/express-winston
MIT License
797 stars 187 forks source link

added exceptionToMeta method for filtering returned meta object #173

Closed cubbuk closed 6 years ago

cubbuk commented 6 years ago

Added tests to https://github.com/bithavoc/express-winston/pull/149 on the work of @YousefED, thanks for it. Could we merge this to main branch so there will be an option to filter meta data on exception. Currently trace field is causing too much noise. Also added another option named blacklistedMetaFields to filter out unwanted fields from the default options.

jnazander commented 6 years ago

Thanks for the merging this feature, when are you going to release it? I would like to start using it now.

bithavoc commented 6 years ago

@jnazander express-winston@2.6.0 https://github.com/bithavoc/express-winston/releases/tag/v2.6.0

jnazander commented 6 years ago

@bithavoc great, thanks!