From 95d80104ec872c15b4c30f56f64af3a1e04efc98 Mon Sep 17 00:00:00 2001 From: Rasmus Kaj Date: Sun, 20 Feb 2022 16:13:55 +0100 Subject: [PATCH] Log that as debug rather than info. --- src/server/splitlist.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/splitlist.rs b/src/server/splitlist.rs index eda31d8..3aa1c2c 100644 --- a/src/server/splitlist.rs +++ b/src/server/splitlist.rs @@ -5,7 +5,7 @@ use crate::models::{Coord, Photo}; use crate::schema::photos; use diesel::pg::{Pg, PgConnection}; use diesel::prelude::*; -use log::{debug, info}; +use log::debug; pub fn links_by_time( context: &Context, @@ -132,7 +132,7 @@ fn split(group: &[Photo]) -> (&[Photo], &[Photo]) { pos = i + 1; } } - info!("Splitting a group len {} at {}", l, pos); + debug!("Splitting a group len {} at {}", l, pos); group.split_at(pos) }