summaryrefslogtreecommitdiff
path: root/service/reload/service.go
diff options
context:
space:
mode:
Diffstat (limited to 'service/reload/service.go')
-rw-r--r--service/reload/service.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/service/reload/service.go b/service/reload/service.go
index f267375a..9c615e0b 100644
--- a/service/reload/service.go
+++ b/service/reload/service.go
@@ -104,8 +104,6 @@ func (s *Service) Serve() error {
go func() {
for e := range s.watcher.Event {
- s.log.Debugf("[UPDATE] Service: %s, path to file: %s, filename: %s", e.service, e.path, e.info.Name())
-
treshholdc <- struct {
serviceConfig ServiceConfig
service string
@@ -138,7 +136,7 @@ func (s *Service) Serve() error {
if err != nil {
s.log.Error(err)
}
- s.log.Debugf("found file changes in %s service, reloading", k)
+ s.log.Debugf("[%s] found %v file(s) changes, reloading", k, len(updated))
}
// zero map
updated = make(map[string]ServiceConfig, 100)