diff --git a/browsers/firefox/firefox.go b/browsers/firefox/firefox.go index e089d28..15f50af 100644 --- a/browsers/firefox/firefox.go +++ b/browsers/firefox/firefox.go @@ -510,6 +510,7 @@ func (f *Firefox) addURLNode(url, title, desc string) (bool, *tree.Node) { // returns the created tagNode func (f *Firefox) addTagNode(tagName string) (bool, *tree.Node) { // Check if "tags" branch exists or create it + log.Debugf("<%s> adding tag <%s>", f.fullId(), tagName) var branchOk bool var tagsBranch *tree.Node for _, c := range f.NodeTree.Children { diff --git a/pkg/manager/manager.go b/pkg/manager/manager.go index 392f46d..0525c8c 100644 --- a/pkg/manager/manager.go +++ b/pkg/manager/manager.go @@ -70,7 +70,6 @@ func (m *Manager) Run() { log.Info("Starting manager ...") for unitName, w := range m.workers { - log.Debugf("---> %p", w) log.Infof("Starting <%s>\n", unitName) go w.unit.Run(w) } @@ -169,8 +168,7 @@ func (m *Manager) AddUnit(unit WorkUnit, name string) { unitID := idGenerator(unitName) unitName = fmt.Sprintf("%s#%d]", unitName, unitID) - log.Info("Adding unit ", unitName) - + log.Debug("Adding unit ", unitName) m.workers[unitName] = workUnitManager } diff --git a/pkg/watch/watcher.go b/pkg/watch/watcher.go index f6d6352..ee84fbc 100644 --- a/pkg/watch/watcher.go +++ b/pkg/watch/watcher.go @@ -122,7 +122,7 @@ func (w WatcherWork) Run(m manager.UnitManager) { watcher.isWatching = true for _, watch := range watcher.Watches{ - log.Infof("Watching %s", watch.Path) + log.Debugf("Watching %s", watch.Path) } } @@ -142,7 +142,7 @@ func WatchLoop(w WatchRunner) { watcher := w.Watch() beat := time.NewTicker(1 * time.Second).C - log.Infof("<%s> Started watcher", watcher.ID) + log.Debugf("<%s> Started watcher", watcher.ID) watchloop: for {