Integrate winston-papertrail plugin

This commit is contained in:
Tankred Hase
2017-08-18 18:04:43 +08:00
parent 35dbc08015
commit ba6f75984e
4 changed files with 45 additions and 1 deletions

View File

@@ -6,6 +6,11 @@ module.exports = {
level: process.env.LOG_LEVEL || 'silly'
},
papertrail: {
host: process.env.PAPERTRAIL_HOST,
port: process.env.PAPERTRAIL_PORT
},
server: {
port: process.env.PORT || 8888,
httpsUpgrade: process.env.HTTPS_UPGRADE,