File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -564,7 +564,7 @@ export class Message {
564564 containers : [
565565 {
566566 name : 'nodered' ,
567- image : 'cloudhack/openflownodered:0.0.235 ' ,
567+ image : 'cloudhack/openflownodered:0.0.237 ' ,
568568 imagePullPolicy : "Always" ,
569569 env : [
570570 { name : "saml_federation_metadata" , value : Config . saml_federation_metadata } ,
Original file line number Diff line number Diff line change @@ -25,7 +25,14 @@ export class WebServer {
2525 this . _logger = logger ;
2626
2727 this . app = express ( ) ;
28- this . app . use ( morgan ( 'combined' , { stream : ( winston . stream as any ) . write } ) ) ;
28+ // this.app.use(morgan('combined', { stream: (winston.stream as any).write }));
29+ var loggerstream = {
30+ write : function ( message , encoding ) {
31+ logger . silly ( message ) ;
32+ }
33+ } ;
34+ this . app . use ( morgan ( 'combined' , { stream : loggerstream } ) ) ;
35+
2936 this . app . use ( compression ( ) ) ;
3037 this . app . use ( bodyParser . urlencoded ( { extended : true } ) ) ;
3138 this . app . use ( bodyParser . json ( ) ) ;
Original file line number Diff line number Diff line change @@ -36,7 +36,13 @@ export class WebServer {
3636 this . _logger . debug ( "WebServer.configure::begin" ) ;
3737 if ( this . app === null ) {
3838 this . app = express ( ) ;
39- this . app . use ( morgan ( 'combined' , { stream : ( winston . stream as any ) . write } ) ) ;
39+ // this.app.use(morgan('combined', { stream: (winston.stream as any).write }));
40+ var loggerstream = {
41+ write : function ( message , encoding ) {
42+ logger . silly ( message ) ;
43+ }
44+ } ;
45+ this . app . use ( morgan ( 'combined' , { stream : loggerstream } ) ) ;
4046 this . app . use ( compression ( ) ) ;
4147 this . app . use ( bodyParser . urlencoded ( { limit : '10mb' , extended : true } ) )
4248 this . app . use ( bodyParser . json ( { limit : '10mb' } ) )
Original file line number Diff line number Diff line change 1- 0.0.236
1+ 0.0.237
You can’t perform that action at this time.
0 commit comments