Default to not logging GitHub token debugging (#1364)

As argued for in
https://github.com/badges/shields/issues/1314#issuecomment-350564524.

It populates large quantities of text in the logs, where I wish to only
see errors.
This commit is contained in:
Thaddée Tyl
2017-12-10 19:02:03 +01:00
committed by Paul Melnikow
parent b35cb71ed6
commit ea405e04e6

View File

@@ -51,7 +51,7 @@ const config = {
github: {
baseUri: process.env.GITHUB_URL || 'https://api.github.com',
debug: {
enabled: envFlag(process.env.GITHUB_DEBUG_ENABLED, true),
enabled: envFlag(process.env.GITHUB_DEBUG_ENABLED, false),
intervalSeconds: process.env.GITHUB_DEBUG_INTERVAL_SECONDS || 300,
},
},