Upgrade camshaft to version 0.66.0

remotes/origin/dgaubert/ch78384/maps-api-replace-log4js-logger-by-pino
Daniel García Aubert 4 years ago
parent 43a603922d
commit 360b98254b

@ -6,7 +6,7 @@ Released 2020-mm-dd
Breaking changes: Breaking changes:
- Log system revamp: - Log system revamp:
- Logs to stdout, disabled while testing - Logs to stdout, disabled while testing
- Upgrade `camshaft` to version [`0.x.0`](https://github.com/CartoDB/camshaft/releases/tag/0.x.0) - Upgrade `camshaft` to version [`0.66.0`](https://github.com/CartoDB/camshaft/releases/tag/0.66.0)
- Use header `X-Request-Id`, or create a new `uuid` when no present, to identyfy log entries - Use header `X-Request-Id`, or create a new `uuid` when no present, to identyfy log entries
- Be able to set log level from env variable `LOG_LEVEL`, useful while testing: `LOG_LEVEL=info npm test`; even more human-readable: `LOG_LEVEL=info npm t | ./node_modules/.bin/pino-pretty` - Be able to set log level from env variable `LOG_LEVEL`, useful while testing: `LOG_LEVEL=info npm test`; even more human-readable: `LOG_LEVEL=info npm t | ./node_modules/.bin/pino-pretty`
- Stop responding with `X-Tiler-Errors` header. Now errors are properly logged and will end up in ELK as usual. - Stop responding with `X-Tiler-Errors` header. Now errors are properly logged and will end up in ELK as usual.

5
package-lock.json generated

@ -814,8 +814,9 @@
"integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo=" "integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo="
}, },
"camshaft": { "camshaft": {
"version": "github:cartodb/camshaft#633d3b85869d894d52ac5c9970462f326d2f42cc", "version": "0.66.0",
"from": "github:cartodb/camshaft#dgaubert/ch78389/camshaft-replace-logger-from-bunyan-to-pino", "resolved": "https://registry.npmjs.org/camshaft/-/camshaft-0.66.0.tgz",
"integrity": "sha512-25WFuUEiPD9Tw0XWSno/m7qJ7QqaEy9t/WbcXt+j+zMTOxvQ4RqpvCAhmUEbLgTLRyTCTvY8nqPtu4PaVJuIyw==",
"requires": { "requires": {
"async": "^1.5.2", "async": "^1.5.2",
"cartodb-psql": "0.14.0", "cartodb-psql": "0.14.0",

@ -39,7 +39,7 @@
"assign-deep": "^1.0.1", "assign-deep": "^1.0.1",
"basic-auth": "2.0.0", "basic-auth": "2.0.0",
"body-parser": "1.18.3", "body-parser": "1.18.3",
"camshaft": "github:cartodb/camshaft#dgaubert/ch78389/camshaft-replace-logger-from-bunyan-to-pino", "camshaft": "^0.66.0",
"cartodb-psql": "0.14.0", "cartodb-psql": "0.14.0",
"cartodb-query-tables": "^0.7.0", "cartodb-query-tables": "^0.7.0",
"cartodb-redis": "^3.0.0", "cartodb-redis": "^3.0.0",

Loading…
Cancel
Save