File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ function finalize() {
1515}
1616
1717exports . start = function ( opts ) {
18- logger . info ( 'Starting Cloud Code Runner' ) ;
18+ logger . debug ( 'Starting Cloud Code Runner' ) ;
1919
2020 const driver = new DriverService ( opts . driverHost , opts . driverPort , opts . driverRunnerId ) ;
2121
@@ -24,11 +24,11 @@ exports.start = function(opts) {
2424 }
2525
2626 function processTask ( task ) {
27- logger . info ( `[${ task . id } ] Processing started` ) ;
27+ logger . debug ( `[${ task . id } ] Processing started` ) ;
2828
2929 return tasksExecutor . execute ( task , opts )
3030 . then ( ( result ) => {
31- logger . info ( `[${ task . id } ] Processing finished` ) ;
31+ logger . debug ( `[${ task . id } ] Processing finished` ) ;
3232
3333 return result && driver . sendResult ( task . id , result ) ;
3434 } ) ;
Original file line number Diff line number Diff line change @@ -73,12 +73,12 @@ class DriverService {
7373 }
7474
7575 getRequest ( requestId ) {
76- logger . info ( 'Getting task from CodeRunner Driver' ) ;
76+ logger . debug ( 'Getting task from CodeRunner Driver' ) ;
7777
7878 return this . send ( 'getRequest' , 'GET' , requestId )
7979 . then ( res => {
8080 if ( res . statusCode === 200 ) {
81- logger . info ( 'Task successfully received' ) ;
81+ logger . debug ( 'Task successfully received' ) ;
8282 return res . body ;
8383 }
8484
@@ -87,12 +87,12 @@ class DriverService {
8787 }
8888
8989 sendResult ( requestId , result ) {
90- logger . info ( 'Sending Execution Result back to CodeRunner Driver' ) ;
90+ logger . debug ( 'Sending Execution Result back to CodeRunner Driver' ) ;
9191
9292 return this . send ( 'sendResult' , 'POST' , requestId , result )
9393 . then ( res => {
9494 if ( res . statusCode === 200 ) {
95- logger . info ( 'Successfully sent' ) ;
95+ logger . debug ( 'Successfully sent' ) ;
9696 } else {
9797 throw new Error ( parseError ( res ) ) ;
9898 }
You can’t perform that action at this time.
0 commit comments