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';
1919import { StartCliConfig } from '../config/start' ;
2020import { printRouteInfo } from '../printers/start' ;
2121import { wrapErrorInHtml } from '../utils/error-html' ;
22- import { getDebugFunction , logger } from '../utils/logger' ;
22+ import { getDebugFunction , logger , LoggingLevel } from '../utils/logger' ;
2323import { writeOutput } from '../utils/output' ;
2424import { requireFromProject } from '../utils/requireFromProject' ;
2525import { createLogger } from './internal/request-logger' ;
@@ -141,7 +141,7 @@ export async function createLocalDevelopmentServer(
141141 forkProcess : config . forkProcess ,
142142 logger : logger ,
143143 routes : routes ,
144- enableDebugLogs : true ,
144+ enableDebugLogs : logger . config . level === LoggingLevel . debug ,
145145 } ) ;
146146 server . on ( 'request-log' , ( logMessage : string ) => {
147147 writeOutput ( logMessage ) ;
You can’t perform that action at this time.
0 commit comments