pgsql: Remove unnecessary logs
This commit is contained in:
parent
5b2376498b
commit
8aae73f1c8
@ -130,7 +130,6 @@ func (tx *pgSession) insertAncestry(name string) (int64, error) {
|
|||||||
return 0, handleError("insertAncestry", err)
|
return 0, handleError("insertAncestry", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
log.WithFields(log.Fields{"ancestry": name, "id": id}).Debug("database: inserted ancestry")
|
|
||||||
return id, nil
|
return id, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -176,7 +175,6 @@ func (tx *pgSession) findAncestryLayers(id int64) ([]database.AncestryLayer, err
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
log.WithField("map", layerMap).Debug("found layer hashes")
|
|
||||||
featureMap, err := tx.findAncestryFeatures(id, detectors)
|
featureMap, err := tx.findAncestryFeatures(id, detectors)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
@ -119,13 +119,11 @@ func (tx *pgSession) insertAncestryDetectors(ancestryID int64, detectorIDs []int
|
|||||||
|
|
||||||
func (tx *pgSession) findAncestryDetectors(id int64) ([]database.Detector, error) {
|
func (tx *pgSession) findAncestryDetectors(id int64) ([]database.Detector, error) {
|
||||||
detectors, err := tx.getDetectors(selectAncestryDetectors, id)
|
detectors, err := tx.getDetectors(selectAncestryDetectors, id)
|
||||||
log.WithField("detectors", detectors).Debug("found ancestry detectors")
|
|
||||||
return detectors, err
|
return detectors, err
|
||||||
}
|
}
|
||||||
|
|
||||||
func (tx *pgSession) findLayerDetectors(id int64) ([]database.Detector, error) {
|
func (tx *pgSession) findLayerDetectors(id int64) ([]database.Detector, error) {
|
||||||
detectors, err := tx.getDetectors(selectLayerDetectors, id)
|
detectors, err := tx.getDetectors(selectLayerDetectors, id)
|
||||||
log.WithField("detectors", detectors).Debug("found layer detectors")
|
|
||||||
return detectors, err
|
return detectors, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user