2
0
mirror of https://github.com/carlostrub/sisyphus synced 2024-10-31 09:20:15 +00:00

log when done learning

This commit is contained in:
Carlo Strub 2017-06-05 13:40:17 +00:00
parent 87b51ebee0
commit 9027d8a954

View File

@ -149,10 +149,11 @@ func main() {
log.WithFields(log.Fields{
"err": err,
"mail": val.Key,
}).Error("Cannot learn mail")
}).Warning("Cannot learn mail")
}
}
}
log.Info("All mails learned")
// Classify whenever a mail arrives in "new"
watcher, err := fsnotify.NewWatcher()