summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-02-23 16:41:05 +0300
committerValery Piashchynski <[email protected]>2020-02-23 16:41:05 +0300
commit690bf10bb8600ca79050aede7cbe954fe1027173 (patch)
treedb01792f8c46146b367ebc32fa4a167130ed28d1 /service
parentcd494bf847713a984811c5b5d972c47fc6a58168 (diff)
parent82c1c48f39433d334ef332a8c49351156b841bf7 (diff)
Merge branch 'file_watcher_module' of github.com:spiral/roadrunner into file_watcher_module
Diffstat (limited to 'service')
-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)