diff --git a/server.go b/server.go index 48e8559..25d6b00 100644 --- a/server.go +++ b/server.go @@ -48,7 +48,7 @@ func (s *Server) Run() { func (s *Server) start(ds *dns.Server) { - logger.Info("Start %s listener on %s\n", ds.Net, s.Addr()) + logger.Info("Start %s listener on %s", ds.Net, s.Addr()) err := ds.ListenAndServe() if err != nil { logger.Error("Start %s listener on %s failed:%s", ds.Net, s.Addr(), err.Error())