Merge pull request #1019 from tboerger/no-newlin
No newlines at end of log messages
This commit is contained in:
commit
26b5d1994a
@ -216,7 +216,7 @@ func (s *service) start() error {
|
|||||||
ch <- l.Close()
|
ch <- l.Close()
|
||||||
}()
|
}()
|
||||||
|
|
||||||
log.Logf("Listening on %v\n", l.Addr().String())
|
log.Logf("Listening on %v", l.Addr().String())
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -381,7 +381,7 @@ func (s *service) Run() error {
|
|||||||
select {
|
select {
|
||||||
// wait on kill signal
|
// wait on kill signal
|
||||||
case sig := <-ch:
|
case sig := <-ch:
|
||||||
log.Logf("Received signal %s\n", sig)
|
log.Logf("Received signal %s", sig)
|
||||||
// wait on context cancel
|
// wait on context cancel
|
||||||
case <-s.opts.Context.Done():
|
case <-s.opts.Context.Done():
|
||||||
log.Logf("Received context shutdown")
|
log.Logf("Received context shutdown")
|
||||||
|
Loading…
Reference in New Issue
Block a user