Skip to content

Commit

Permalink
Merge pull request quay#371 from caipre/add-logging
Browse files Browse the repository at this point in the history
Add logging
  • Loading branch information
jzelinskie authored Apr 25, 2017
2 parents a5aced8 + a0b2275 commit d41c199
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions updater.go
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ func fetch(datastore database.Datastore) (bool, []database.Vulnerability, map[st
}

responseC <- &response
log.Infof("finished fetching %s", name)
}(n, u)
}

Expand Down
2 changes: 1 addition & 1 deletion worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ func detectFeatureVersions(name string, files tarutil.FilesMap, namespace *datab
continue
}

log.Warningf("layer %s: Layer's namespace is unknown but non-namespaced features have been detected", name)
log.Warningf("Namespace unknown for feature %s %s, in layer %s", feature.Feature.Name, feature.Version, name)
err = ErrUnsupported
return
}
Expand Down

0 comments on commit d41c199

Please sign in to comment.