diff --git a/src/components/LogRequestsComponent.ts b/src/components/LogRequestsComponent.ts index 0faa130..0e70ae3 100644 --- a/src/components/LogRequestsComponent.ts +++ b/src/components/LogRequestsComponent.ts @@ -46,7 +46,7 @@ export default class LogRequestsComponent extends ApplicationComponent { req.log.info(requestObj); } } else { - let logStr = `${req.method} ${req.originalUrl} - ${res.statusCode}`; + let logStr = `${req.ip} < ${req.method} ${req.originalUrl} - ${res.statusCode}`; if (err) { if (err instanceof Error) { if (silent) {