Better log and less noise in prod mode

This commit is contained in:
Deluan
2016-03-15 17:06:23 -04:00
parent 714b100d03
commit cdefabf760
5 changed files with 46 additions and 20 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ type plsRelation struct {
}
func (s *ItunesScanner) ScanLibrary(lastModifiedSince time.Time, path string) (int, error) {
beego.Info("Checking for updates since", lastModifiedSince.String(), "- Library:", path)
beego.Debug("Checking for updates since", lastModifiedSince.String(), "- Library:", path)
xml, _ := os.Open(path)
l, err := itl.ReadFromXML(xml)
if err != nil {