mirror of
https://github.com/kaythomas0/noisedash.git
synced 2025-11-11 10:56:20 +00:00
Log to stdout
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
"sessionFileStorePath": "sessions",
|
||||
"sampleUploadPath": "samples",
|
||||
"sessionSecret": "cats",
|
||||
"logFilePath": "log/noisedash.log",
|
||||
"logFile": "log/noisedash.log",
|
||||
"tls": false,
|
||||
"tlsKey": "certs/key.pem",
|
||||
"tlsCert": "certs/cert.pem"
|
||||
|
||||
@@ -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