store/postgres: No longer log find/get calls, it's too verbose
@@ -471,8 +471,6 @@ impl StoreTrait for Store {
}
fn get(&self, key: StoreKey) -> Result<Entity, Error> {
- debug!(self.logger, "get"; "key" => format!("{:?}", key));
-
use db_schema::entities::dsl::*;
// Use primary key fields to get the entity; deserialize the result JSON
@@ -530,9 +528,6 @@ impl StoreTrait for Store {
.offset(range.skip as i64);
}
- debug!(self.logger, "find";
- "sql" => format!("{:?}", debug_query::<Pg, _>(&diesel_query)));
-
// Process results; deserialize JSON data
diesel_query
.load::<serde_json::Value>(&*self.conn.lock().unwrap())
