less spammy log
This commit is contained in:
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user