mirror of
https://github.com/iritmaximus/workh.git
synced 2026-10-12 19:13:33 +03:00
[Log] Change to use logfmt that loki can read
This commit is contained in:
+1
-1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user