less spammy log

This commit is contained in:
2023-11-30 22:41:17 +01:00
parent 7038863653
commit 153230615a
+2 -2
View File
@@ -5,7 +5,7 @@ use anyhow::Context;
use chrono::{NaiveDateTime, Utc};
use image::{GenericImageView, Pixel};
use log::{debug, error, info};
use log::{debug, error, info, trace};
/// Folder the camera images are uploaded to
const FOLDER_WITH_NEW_IMAGES: &str = "/tmp/camera";
@@ -48,7 +48,7 @@ fn main() {
loop {
if !commit_file.exists() {
debug!("No commit file, wait.");
trace!("No commit file, wait.");
std::thread::sleep(Duration::from_secs(5));
continue;
}