aboutsummaryrefslogtreecommitdiff
path: root/api/index.js
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-03-01 00:34:50 +0200
committerkaotisk <kaotisk@arching-kaos.org>2024-03-01 00:34:50 +0200
commit8323eaa985dcac1152e62df28903c643ce2c9f45 (patch)
tree7dfd012f5df7d9ff267f76ce48aecbcc1c6e2007 /api/index.js
parentf53340fa52437b7a4dbe06834f0cdf1233678c72 (diff)
downloadarching-kaos-tools-8323eaa985dcac1152e62df28903c643ce2c9f45.tar.gz
arching-kaos-tools-8323eaa985dcac1152e62df28903c643ce2c9f45.tar.bz2
arching-kaos-tools-8323eaa985dcac1152e62df28903c643ce2c9f45.zip
Added ak-logthis wrapper in API
Diffstat (limited to 'api/index.js')
-rwxr-xr-xapi/index.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/api/index.js b/api/index.js
index f572586..5fefe9f 100755
--- a/api/index.js
+++ b/api/index.js
@@ -7,10 +7,12 @@
*/
const config = require('./config');
+const akLogThis = require('./lib/akLogThis');
const DEFAULT_PORT = 8610;
const PORT = config.port || DEFAULT_PORT;
+akLogThis("INFO", "Daemon started")
/*
* Split the prefix of each API call in segments for better management
*