From 0238608f85236f0b886f0b53c904d56e08d27d05 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Sun, 16 Mar 2025 00:57:28 +0200 Subject: Directly call the script to avoid populating the logs with too much info --- api/lib/akLogMessage/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'api/lib') diff --git a/api/lib/akLogMessage/index.js b/api/lib/akLogMessage/index.js index e138f22..6dfb8f2 100644 --- a/api/lib/akLogMessage/index.js +++ b/api/lib/akLogMessage/index.js @@ -3,8 +3,8 @@ const config = require('../../config') module.exports = (type, message) => { const command = spawn( - "ak", - ["log", "-m", "ak-daemon", type, message] + "ak-log", + ["-m", "ak-daemon", type, message] ); var buffer = ""; -- cgit v1.2.3