Replace log4js by pino as logger:
- Logs to stdout, disabled while testing - Change log calls signature when needed - Use development version of camshaft - Removes unused log cofiguration - Bind request id to log req/res - Log req at the begining of the cycle and res at the end
This commit is contained in:
+4
-2
@@ -38,7 +38,7 @@
|
||||
"@google-cloud/pubsub": "1.5.0",
|
||||
"basic-auth": "2.0.0",
|
||||
"body-parser": "1.18.3",
|
||||
"camshaft": "^0.65.3",
|
||||
"camshaft": "github:cartodb/camshaft#dgaubert/ch78389/camshaft-replace-logger-from-bunyan-to-pino",
|
||||
"cartodb-psql": "0.14.0",
|
||||
"cartodb-query-tables": "^0.7.0",
|
||||
"cartodb-redis": "^3.0.0",
|
||||
@@ -48,11 +48,11 @@
|
||||
"fastly-purge": "1.0.1",
|
||||
"gc-stats": "^1.4.0",
|
||||
"glob": "7.1.2",
|
||||
"log4js": "github:cartodb/log4js-node#cdb",
|
||||
"lru-cache": "4.1.3",
|
||||
"lzma": "2.3.2",
|
||||
"node-statsd": "0.1.1",
|
||||
"on-headers": "1.0.1",
|
||||
"pino": "^6.3.1",
|
||||
"queue-async": "1.1.0",
|
||||
"redis-mpool": "^0.8.0",
|
||||
"request": "2.87.0",
|
||||
@@ -60,6 +60,7 @@
|
||||
"step-profiler": "0.3.0",
|
||||
"turbo-carto": "0.21.2",
|
||||
"underscore": "1.6.0",
|
||||
"uuid": "^8.1.0",
|
||||
"windshaft": "^7.0.1",
|
||||
"yargs": "^15.3.1"
|
||||
},
|
||||
@@ -75,6 +76,7 @@
|
||||
"moment": "2.22.1",
|
||||
"nock": "9.2.6",
|
||||
"nyc": "^14.1.1",
|
||||
"pino-pretty": "^4.0.0",
|
||||
"redis": "2.8.0",
|
||||
"step": "1.0.0",
|
||||
"strftime": "0.10.0"
|
||||
|
||||
Reference in New Issue
Block a user