Skip to content

Commit 3e830b8

Browse files
committed
Added logging.
1 parent 9573e82 commit 3e830b8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/svcctl/svcctl.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,10 @@ func LogFileName(ipComm IPCommunicator) (string, error) {
139139
func StopServer(ipComm IPCommunicator) error {
140140
_, err := LocateHTTP(ipComm)
141141
if err != nil {
142+
logging.Debug("service is not running")
142143
return nil // service is not up and running, so nothing to do
143144
}
145+
logging.Debug("service is running")
144146

145147
ctx, cancel := context.WithTimeout(context.Background(), commonTimeout)
146148
defer cancel()

0 commit comments

Comments
 (0)