Use log level env var instead of environment config

This commit is contained in:
Tankred Hase 2017-08-23 18:31:15 +08:00
parent 258117d36d
commit 0d6a9fdae5
3 changed files with 1 additions and 9 deletions

View File

@ -4,7 +4,7 @@ node_js:
- "8"
env:
- NODE_ENV=integration MONGO_URI=127.0.0.1:27017/test_db MONGO_USER=travis MONGO_PASS=test
- NODE_ENV=integration LOG_LEVEL=warn MONGO_URI=127.0.0.1:27017/test_db MONGO_USER=travis MONGO_PASS=test
notifications:
email:

View File

@ -2,8 +2,4 @@
module.exports = {
log: {
level: 'warn'
}
};

View File

@ -2,8 +2,4 @@
module.exports = {
log: {
level: 'error'
}
};