forked from external-repos/noisedash
Log to stdout
This commit is contained in:
@@ -13,11 +13,8 @@ const logger = winston.createLogger({
|
||||
),
|
||||
defaultMeta: { service: 'noisedash' },
|
||||
transports: [
|
||||
//
|
||||
// - Write to all logs with level `info` and below to `quick-start-combined.log`.
|
||||
// - Write all logs error (and below) to `quick-start-error.log`.
|
||||
//
|
||||
new winston.transports.File({ filename: config.get('Server.logFilePath') })
|
||||
new winston.transports.File({ filename: config.get('Server.logFile') }),
|
||||
new winston.transports.Console()
|
||||
]
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user