]> PHS Git Server - phs-api.git/commitdiff
Adding more logging to disconnect method.
authorcharleswrayjr <charleswrayjr@gmail.com>
Wed, 10 Sep 2025 04:00:44 +0000 (23:00 -0500)
committercharleswrayjr <charleswrayjr@gmail.com>
Wed, 10 Sep 2025 04:00:44 +0000 (23:00 -0500)
app.js

diff --git a/app.js b/app.js
index 2966881733d987292a1fbc391409e89375850fb3..5c3d1bf8cc903dd4082e7485a3b02292bb310238 100755 (executable)
--- a/app.js
+++ b/app.js
@@ -162,6 +162,7 @@ app.use( function ( req, res, next ) {
   else {
     logger.warn(req.originalUrl);
     logger.warn(req.headers['x-forwarded-for']);
+    logger.warn(req.headers['X-Real-IP']);
     next( createError( 404 ) );
   }