diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2025-03-16 00:58:35 +0200 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2025-03-16 00:58:35 +0200 |
commit | cf5b4da7f4309650cdb6b7cd02fecc3a7b3dfc4b (patch) | |
tree | 344ec65c638d1acb89e1972dc9d64a88fd906652 /api/routes | |
parent | 0238608f85236f0b886f0b53c904d56e08d27d05 (diff) | |
download | arching-kaos-tools-cf5b4da7f4309650cdb6b7cd02fecc3a7b3dfc4b.tar.gz arching-kaos-tools-cf5b4da7f4309650cdb6b7cd02fecc3a7b3dfc4b.tar.bz2 arching-kaos-tools-cf5b4da7f4309650cdb6b7cd02fecc3a7b3dfc4b.zip |
Stop logging from inside the node_info route, we do it on outer layer
Diffstat (limited to 'api/routes')
-rw-r--r-- | api/routes/getNodeInfo/index.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/api/routes/getNodeInfo/index.js b/api/routes/getNodeInfo/index.js index ed5d500..27006ae 100644 --- a/api/routes/getNodeInfo/index.js +++ b/api/routes/getNodeInfo/index.js @@ -1,8 +1,6 @@ const { spawn } = require('child_process'); -const akLogMessage = require('../../lib/akLogMessage'); module.exports = (req, res) => { - akLogMessage('INFO', `Incoming from [${req.connection.remoteAddress}]:${req.socket._peername.port} @ ${req.url}`); const command = spawn("ak-config", ["--get-published"]); var buffer = ""; command.stdout.on("data", data => { |