From 675994f1296e856109eb02d755406e86bccb65e8 Mon Sep 17 00:00:00 2001 From: Jonatan Nilsson Date: Sun, 14 Aug 2022 00:03:57 +0000 Subject: [PATCH] server: Log config sites on startup --- api/server.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/server.mjs b/api/server.mjs index 28f7013..0e92880 100644 --- a/api/server.mjs +++ b/api/server.mjs @@ -95,7 +95,7 @@ export default class Server { // Start listening return this.flaska.listenAsync(this.port).then(() => { - this.core.log.info(`Server is listening on port ${this.port} uploading to ${config.get('uploadFolder')}`) + this.core.log.info({ sites: Object.keys(config.get('sites')) }, `Server is listening on port ${this.port}, uploading to ${config.get('uploadFolder')} for following sites`) }) } }