chore(backend): Duidelijkere MikroORM logging

Zorgt voor beter formaat en juiste labels
This commit is contained in:
Tibo De Peuter 2025-03-02 13:59:38 +01:00
parent e6c03c1aca
commit eca8d89712
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2
5 changed files with 38 additions and 13 deletions

6
backend/src/config.ts Normal file
View file

@ -0,0 +1,6 @@
// Logging
export const LOG_LEVEL: string =
'development' === process.env.NODE_ENV ? 'debug' : 'info';
export const LOKI_HOST: string =
process.env.LOKI_HOST || 'http://localhost:3102';