Browse Source

fix(log): only enable top level lnd logs

limit the log namespaces that are enabled by default to only include
the top level lnd namespace and not also all of it's sub-namespaces.
renovate/lint-staged-8.x
Tom Kirkpatrick 6 years ago
parent
commit
be2482ef4f
No known key found for this signature in database GPG Key ID: 72203A8EC5967EA8
  1. 2
      app/lib/utils/log.js

2
app/lib/utils/log.js

@ -8,7 +8,7 @@ debugLogger.inspectOptions = {
// Enable all zap logs if DEBUG has not been explicitly set.
if (!process.env.DEBUG) {
// debugLogger.debug.enable('zap:*')
process.env.DEBUG = 'zap:main,zap:lnd*,zap:updater'
process.env.DEBUG = 'zap:main,zap:lnd,zap:updater'
}
if (!process.env.DEBUG_LEVEL) {
process.env.DEBUG_LEVEL = 'info'

Loading…
Cancel
Save