diff --git a/engine/server/engine/main.go b/engine/server/engine/main.go index 5debe0bd20..73802259e8 100644 --- a/engine/server/engine/main.go +++ b/engine/server/engine/main.go @@ -202,7 +202,7 @@ func runMain() error { } go func() { - logrus.Info("Starting pprof server on :6060") + logrus.Infof("Starting pprof server on: %s", pprofPortAddr) if err := http.ListenAndServe(pprofPortAddr, nil); err != nil { logrus.Fatalf("pprof server failed: %v", err) } diff --git a/engine/server/engine/server/engine_connect_server_service.go b/engine/server/engine/server/engine_connect_server_service.go index 281a80e9af..c19df02394 100644 --- a/engine/server/engine/server/engine_connect_server_service.go +++ b/engine/server/engine/server/engine_connect_server_service.go @@ -346,7 +346,7 @@ func (service *EngineConnectServerService) GetServiceLogs(ctx context.Context, c select { //stream case case serviceLogsByServiceUuid, isChanOpen := <-serviceLogsByServiceUuidChan: - // If the channel is closed means that the logs database client won't continue sending streams + //If the channel is closed means that the logs database client won't continue sending streams if !isChanOpen { logrus.Debug("Exiting the stream loop after receiving a close signal from the service logs by service UUID channel") return nil @@ -358,7 +358,7 @@ func (service *EngineConnectServerService) GetServiceLogs(ctx context.Context, c } //client cancel ctx case case <-contextWithCancel.Done(): - logrus.Debug("The user service logs stream is done.") + logrus.Debug("The user service logs stream has done") return nil //error from logs database case case err, isChanOpen := <-errChan: