chore(backend): Duidelijkere MikroORM logging
Zorgt voor beter formaat en juiste labels
This commit is contained in:
parent
e6c03c1aca
commit
eca8d89712
5 changed files with 38 additions and 13 deletions
6
backend/src/config.ts
Normal file
6
backend/src/config.ts
Normal 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';
|
Loading…
Add table
Add a link
Reference in a new issue