diff options
Diffstat (limited to 'svc')
-rw-r--r-- | svc/conf.go | 2 | ||||
-rw-r--r-- | svc/init.go | 2 | ||||
-rw-r--r-- | svc/svc.go | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/svc/conf.go b/svc/conf.go index d85bbee..f4d6518 100644 --- a/svc/conf.go +++ b/svc/conf.go @@ -59,7 +59,7 @@ func initLogging() { <-closeLog - log.Printf("Closing log file ...\n") + log.Printf("Closing log file ...\n\n") errLog("Could not close log file: ", logfile.Close()) }(logfile) diff --git a/svc/init.go b/svc/init.go index 6af7866..408a53b 100644 --- a/svc/init.go +++ b/svc/init.go @@ -99,7 +99,7 @@ func watchForInterrupt() { go func() { for sigint := range c { - log.Printf("\n\nCaught %v. Cleaning up ...\n", sigint) + log.Printf("\nCaught %v. Cleaning up ...\n\n", sigint) confObj.Mu.RLock() log.Printf("Closing database connection to %v...\n", confObj.DBPath) diff --git a/svc/svc.go b/svc/svc.go index 102e1ca..6c9ee58 100644 --- a/svc/svc.go +++ b/svc/svc.go @@ -29,8 +29,8 @@ func Start() { server := newServer(portnum, index) - log.Printf("\nListening on %v\n", portnum) - log.Printf("\n:: getwtxt %v Started :: %v ::\n\n", Vers, time.Now().Format(time.RFC3339)) + log.Printf("*** Listening on %v\n", portnum) + log.Printf("*** getwtxt %v Started :: %v ::\n\n", Vers, time.Now().Format(time.RFC3339)) errLog("", server.ListenAndServe()) closeLog <- true |