Browse Source
Merge pull request #717 from mrfelton/fix/enable-lnd-logs
fix(logs): enable lnd logs by default
renovate/lint-staged-8.x
JimmyMow
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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' |
|
|
|