Structured logging (attempt 2) (#1234)
* Revert "Revert "feat(structured logging): implements structured logging for backend (#1217)" (#1227)"
This reverts commit 63e6581162.
* Use pino-http instead of express pino logger
* Use correct reference to knex and do not instantiate HttpLogger prematurely
* Adds missing dependency for pino to webhook-service
* Do not instantiate middleware when passed to express
* Refactor to move logging into shared
* Copy shared packages into dockerfiles
* Build shared workspace in docker build-stage for fileimport & webhook
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
import dbg from 'debug'
|
||||
|
||||
const debug = dbg('speckle')
|
||||
|
||||
export const modulesDebug = debug.extend('modules')
|
||||
export const notificationsDebug = debug.extend('notifications')
|
||||
export const cliDebug = debug.extend('cli')
|
||||
export const errorDebug = debug.extend('error')
|
||||
Reference in New Issue
Block a user