Demote some log.printf into log.tracef

This commit is contained in:
Eugene Bujak
2019-02-07 18:24:12 +03:00
parent 6e5731ab02
commit 68c8a4d484
6 changed files with 10 additions and 10 deletions

View File

@@ -110,7 +110,7 @@ func (s *Server) startInternal(config *ServerConfig) error {
return err
}
log.Printf("Loading stats from querylog")
log.Tracef("Loading stats from querylog")
err = fillStatsFromQueryLog()
if err != nil {
return errorx.Decorate(err, "failed to load stats from querylog")
@@ -152,7 +152,7 @@ func (s *Server) startInternal(config *ServerConfig) error {
// Initializes the DNS filter
func (s *Server) initDNSFilter() error {
log.Printf("Creating dnsfilter")
log.Tracef("Creating dnsfilter")
s.dnsFilter = dnsfilter.New(&s.Config)
// add rules only if they are enabled
if s.FilteringEnabled {