chore(backend): Geen Loki tijdens ontwikkeling
This commit is contained in:
		
							parent
							
								
									4fd03cd616
								
							
						
					
					
						commit
						4c7fe1cb3c
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		|  | @ -29,6 +29,12 @@ function initializeLogger(): Logger { | |||
|         format: format.combine(format.cli(), format.colorize()), | ||||
|     }); | ||||
| 
 | ||||
|     if (getEnvVar(EnvVars.RunMode) === 'dev') { | ||||
|         return createLogger({ | ||||
|             transports: [consoleTransport], | ||||
|         }); | ||||
|     } | ||||
| 
 | ||||
|     const lokiHost = getEnvVar(EnvVars.LokiHost); | ||||
| 
 | ||||
|     const lokiTransport: LokiTransport = new LokiTransport({ | ||||
|  |  | |||
		Reference in a new issue