No newlines at end of log messages
Log messages should not end with a new line, this should be entirely handled by the underlying log library. Signed-off-by: Thomas Boerger <thomas@webhippie.de>
This commit is contained in:
parent
b0626089f3
commit
30aec5b872
@ -216,7 +216,7 @@ func (s *service) start() error {
|
||||
ch <- l.Close()
|
||||
}()
|
||||
|
||||
log.Logf("Listening on %v\n", l.Addr().String())
|
||||
log.Logf("Listening on %v", l.Addr().String())
|
||||
return nil
|
||||
}
|
||||
|
||||
@ -381,7 +381,7 @@ func (s *service) Run() error {
|
||||
select {
|
||||
// wait on kill signal
|
||||
case sig := <-ch:
|
||||
log.Logf("Received signal %s\n", sig)
|
||||
log.Logf("Received signal %s", sig)
|
||||
// wait on context cancel
|
||||
case <-s.opts.Context.Done():
|
||||
log.Logf("Received context shutdown")
|
||||
|
Loading…
Reference in New Issue
Block a user