File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -163,8 +163,10 @@ if (config_error) {
163163 if ( err ) {
164164 startup_unsuccessful ( ) ;
165165 } else {
166+ console . log ( '\n' ) ;
166167 logger . debug ( 'Detected that we have launched successfully before' ) ;
167- logger . debug ( 'Welcome back - Initiating start up\n\n' ) ;
168+ logger . debug ( 'Welcome back - Marbles is ready' ) ;
169+ logger . debug ( 'Open your browser to http://' + host + ':' + port + ' and login as "admin"\n\n' ) ;
168170 }
169171 } ) ;
170172 } ) ;
Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ module.exports = function (g_options, logger) {
116116 options . target_event_url = null ; //don't use eventHub
117117 }
118118 if ( options . target_event_url ) {
119- logger . debug ( '[fcw] listening to tx event. url:' , options . target_event_url ) ;
119+ logger . debug ( '[fcw] listening to transaction event. url:' , options . target_event_url ) ;
120120 eventHub = client . newEventHub ( ) ;
121121 eventHub . setPeerAddr ( options . target_event_url , options . peer_tls_opts ) ;
122122 eventHub . connect ( ) ;
@@ -139,6 +139,8 @@ module.exports = function (g_options, logger) {
139139 return cb ( null ) ; //all good, pass it back
140140 } else return ;
141141 }
142+ } , function ( disconnectMsg ) { //callback whenever eventHub is disconnected, normal
143+ logger . debug ( '[fcw] transaction event is disconnected' ) ;
142144 } ) ;
143145 } else {
144146 logger . debug ( '[fcw] will not use tx event' ) ;
You can’t perform that action at this time.
0 commit comments