refactor(filterlists): Improve index update logging
feat(updates): Add String method
This commit is contained in:
@@ -209,7 +209,7 @@ func updateListIndex() error {
|
||||
)
|
||||
default:
|
||||
// List is in cache and current, there is nothing to do.
|
||||
log.Debug("filterlists: index is up to date")
|
||||
log.Debugf("filterlists: index is up to date (%s == %s)", index.Version, listIndexUpdate.Version)
|
||||
|
||||
// Update the unbreak filter list IDs on initial load.
|
||||
updateUnbreakFilterListIDs()
|
||||
|
||||
@@ -238,7 +238,7 @@ func getUpgradableFiles() ([]*updates.Artifact, error) {
|
||||
func resolveUpdateOrder(updateOrder []*updates.Artifact) ([]*updates.Artifact, error) {
|
||||
// sort the update order by ascending version
|
||||
sort.Sort(byAscVersion(updateOrder))
|
||||
log.Tracef("intel/filterlists: order of updates: %v", updateOrder)
|
||||
log.Tracef("intel/filterlists: order of potential updates: %v", updateOrder)
|
||||
|
||||
var cacheDBVersion *version.Version
|
||||
if !isLoaded() {
|
||||
|
||||
Reference in New Issue
Block a user