feat: add requestId
Showing
middleware/correlation.js
0 → 100644
| ... | @@ -11,6 +11,7 @@ | ... | @@ -11,6 +11,7 @@ |
| "dependencies": { | "dependencies": { | ||
| "amqplib": "^0.8.0", | "amqplib": "^0.8.0", | ||
| "axios": "^0.21.1", | "axios": "^0.21.1", | ||
| "cls-hooked": "^4.2.2", | |||
| "debug": "^4.1.1", | "debug": "^4.1.1", | ||
| "koa": "^2.7.0", | "koa": "^2.7.0", | ||
| "koa-bodyparser": "^4.2.1", | "koa-bodyparser": "^4.2.1", | ||
| ... | @@ -24,7 +25,9 @@ | ... | @@ -24,7 +25,9 @@ |
| "koa-views": "^6.2.0", | "koa-views": "^6.2.0", | ||
| "moment": "^2.29.1", | "moment": "^2.29.1", | ||
| "parameter": "^3.6.0", | "parameter": "^3.6.0", | ||
| "uuid": "^8.3.2" | "uuid": "^8.3.2", | ||
| "winston": "^3.3.3", | |||
| "winston-daily-rotate-file": "^4.5.5" | |||
| }, | }, | ||
| "devDependencies": { | "devDependencies": { | ||
| "nodemon": "^1.19.1" | "nodemon": "^1.19.1" | ||
| ... | ... |
utils/logger.js
0 → 100644
utils/system.js
0 → 100644
Please
register
or
sign in
to comment