summaryrefslogtreecommitdiff
path: root/service/reload
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2020-02-23 16:30:20 +0300
committerWolfy-J <[email protected]>2020-02-23 16:30:20 +0300
commit3eb34dbfabdb1dd8e158a5fbb3960c12f51c921b (patch)
treea1e3c951be977a4068f999eb75b633371d06dfb2 /service/reload
parent42b897b3e6ec564402dbe35c1ec0a0f5d99ef511 (diff)
- cs
Diffstat (limited to 'service/reload')
-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 a8e862cb..2aaed8ad 100644
--- a/service/reload/service.go
+++ b/service/reload/service.go
@@ -105,8 +105,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
@@ -134,7 +132,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)