mirror of
https://github.com/sasjs/server.git
synced 2026-01-07 14:40:05 +00:00
chore: use process.logger instead of condole.log
This commit is contained in:
@@ -23,7 +23,7 @@ export const configureLogger = (app: Express) => {
|
||||
path: logsFolder
|
||||
})
|
||||
|
||||
console.log('Writing Logs to :', path.join(logsFolder, filename))
|
||||
process.logger.info('Writing Logs to :', path.join(logsFolder, filename))
|
||||
|
||||
options = { stream: accessLogStream }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user