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:
Iain Sproat
2022-12-05 14:49:52 +00:00
committed by GitHub
parent e807ae5fb1
commit 444d2ca7dd
110 changed files with 792 additions and 413 deletions
@@ -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')