[Log] Change to use logfmt that loki can read

This commit is contained in:
Aaro Koivukangas
2026-10-11 19:21:39 +03:00
parent 0b04905cc5
commit 14082beac4
5 changed files with 34 additions and 23 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ import { DATA_DIR, PORT } from './config';
import { log } from './log';
const server = createApp().listen(PORT, () => {
log.info(`WorkH listening on http://localhost:${PORT} (data: ${DATA_DIR})`);
log.info('WorkH listening', { port: PORT, dataDir: DATA_DIR });
});
// Exit promptly when Kubernetes / Docker stops the container.