From: charleswrayjr Date: Mon, 8 Sep 2025 16:41:40 +0000 (-0500) Subject: Testing vpn paths. X-Git-Url: https://git.phasecustomsoft.com/static/js/main.73c8ad42.js?a=commitdiff_plain;h=e788610df636929cb0c661d291be1a8d9eda0791;p=phs-api.git Testing vpn paths. --- diff --git a/src/controllers/vpn.controller.js b/src/controllers/vpn.controller.js index 7b3fc20..2847f11 100644 --- a/src/controllers/vpn.controller.js +++ b/src/controllers/vpn.controller.js @@ -11,8 +11,7 @@ const parseVpnStatus = ( output ) => { const lines = output.split( '\n' ).map( line => line.trim() ).filter( Boolean ); const lValues = [ 'lines:', lines ].join( ' ' ); - logger.info( lValues ); - console.log( 'console: ', lValues ); + logger.debug( lValues ); // Find indices using a single pass let sIndex = -1, mIndex = -1, eIndex = -1; lines.forEach( ( line, i ) => {