Skip to content

Commit 744a531

Browse files
committed
Fix no logging output appearing when in non-quiet-mode
This was because the logging level was set via an environment variable *after* the debugger was already constructed. Closes #979
1 parent 5d03b32 commit 744a531

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/lib/start.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ function bin (argv, server) {
6262

6363
// Set up debug environment
6464
if (!argv.quiet) {
65-
process.env.DEBUG = 'solid:*'
65+
require('debug').enable('solid:*')
6666
}
6767

6868
// Set up port

0 commit comments

Comments
 (0)