refactor(core): Modernize logger service (#11031)

This commit is contained in:
Iván Ovejero
2024-10-01 12:16:09 +02:00
committed by GitHub
parent f92637a9fe
commit 3a9c65e1cb
120 changed files with 554 additions and 297 deletions

View File

@@ -225,6 +225,15 @@ describe('GlobalConfig', () => {
backendDsn: '',
frontendDsn: '',
},
logging: {
level: 'info',
outputs: ['console'],
file: {
fileCountMax: 100,
fileSizeMax: 16,
location: 'logs/n8n.log',
},
},
};
it('should use all default values when no env variables are defined', () => {