Daniel García Aubert
210f5b01ec
Make sure all errors use the serializer set for the logger
2020-06-03 17:32:16 +02:00
Daniel García Aubert
62d66f2dbc
Do not use global logger in middlewares, use the one initialized in res.locals instead
2020-06-02 09:00:45 +02:00
Daniel García Aubert
163c546236
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
2020-06-01 19:18:15 +02:00
Daniel García Aubert
6bcf477532
Avoid custom headers to be undefined
2020-05-29 16:06:16 +02:00
Daniel García Aubert
ddefb1a6ca
Add 'Carto-Stat-Tag', 'Carto-User-Id', and 'Carto-Client' headers
2020-05-26 13:15:35 +02:00
Daniel García Aubert
4d70ac0894
Apply automatic eslint fixes
2019-10-21 19:07:24 +02:00
Daniel García Aubert
281a079a62
Simplify folder structure
2019-10-07 09:40:50 +02:00