File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/twilio-run/src/runtime Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ import path from 'path';
19
19
import { StartCliConfig } from '../config/start' ;
20
20
import { printRouteInfo } from '../printers/start' ;
21
21
import { wrapErrorInHtml } from '../utils/error-html' ;
22
- import { getDebugFunction , logger } from '../utils/logger' ;
22
+ import { getDebugFunction , logger , LoggingLevel } from '../utils/logger' ;
23
23
import { writeOutput } from '../utils/output' ;
24
24
import { requireFromProject } from '../utils/requireFromProject' ;
25
25
import { createLogger } from './internal/request-logger' ;
@@ -141,7 +141,7 @@ export async function createLocalDevelopmentServer(
141
141
forkProcess : config . forkProcess ,
142
142
logger : logger ,
143
143
routes : routes ,
144
- enableDebugLogs : true ,
144
+ enableDebugLogs : logger . config . level === LoggingLevel . debug ,
145
145
} ) ;
146
146
server . on ( 'request-log' , ( logMessage : string ) => {
147
147
writeOutput ( logMessage ) ;
You can’t perform that action at this time.
0 commit comments