postgreSQL - extended nalyser logs

This commit is contained in:
Jan Prochazka
2024-05-27 11:43:38 +02:00
parent 59bd699fc6
commit e9442bd633
3 changed files with 29 additions and 1 deletions

View File

@@ -41,7 +41,7 @@ function configureLogger() {
{
type: 'stream',
// @ts-ignore
level: process.env.FILE_LOG_LEVEL || process.env.LOG_LEVEL || 'info',
level: process.env.FILE_LOG_LEVEL || process.env.LOG_LEVEL || 'debug',
stream: fs.createWriteStream(logsFilePath, { flags: 'a' }),
},
],