Commit e3e8292c authored by Manuel Kieweg's avatar Manuel Kieweg 🤷
Browse files

changed log level

parent 4202dcb5
......@@ -33,7 +33,7 @@ func (s store) add(item Storable) error {
log.WithFields(log.Fields{
"type": reflect.TypeOf(item),
"uuid": item.ID(),
}).Info("storable was added")
}).Debug("storable was added")
return nil
}
......@@ -43,7 +43,7 @@ func (s store) get(id uuid.UUID) (Storable, error) {
}
log.WithFields(log.Fields{
"uuid": id,
}).Info("storable was accessed")
}).Debug("storable was accessed")
storeLock.RLock()
defer storeLock.RUnlock()
return s[id], nil
......@@ -58,7 +58,7 @@ func (s store) delete(id uuid.UUID) error {
storeLock.Unlock()
log.WithFields(log.Fields{
"uuid": id,
}).Info("storable has been deleted")
}).Debug("storable was deleted")
return nil
}
......@@ -92,7 +92,7 @@ func (s sbiStore) get(id uuid.UUID) (SouthboundInterface, error) {
}
log.WithFields(log.Fields{
"uuid": id,
}).Info("southbound interface was accessed")
}).Debug("southbound interface was accessed")
return sbi, nil
}
......@@ -114,7 +114,7 @@ func (s pndStore) get(id uuid.UUID) (PrincipalNetworkDomain, error) {
}
log.WithFields(log.Fields{
"uuid": id,
}).Info("principal network domain was accessed")
}).Debug("principal network domain was accessed")
return pnd, nil
}
......@@ -136,6 +136,6 @@ func (s deviceStore) get(id uuid.UUID) (*Device, error) {
}
log.WithFields(log.Fields{
"uuid": id,
}).Info("device was accessed")
}).Debug("device was accessed")
return device, nil
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment