From e88cd80d18ae0ccd96ca99532190b92bd70cb67e Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 5 Feb 2024 14:29:35 -0500 Subject: [PATCH] deploy: Log filtered content warning to journal, not stderr This one is really a "soft warning"...it's not a serious problem to have stuff in `/run`, it's just ignored. At the same time, we want to persist it so that someone debugging things later can find the information. Signed-off-by: Colin Walters --- lib/src/deploy.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/deploy.rs b/lib/src/deploy.rs index 82e481daf..d47efbc31 100644 --- a/lib/src/deploy.rs +++ b/lib/src/deploy.rs @@ -148,7 +148,7 @@ pub(crate) async fn pull( if let Some(msg) = ostree_container::store::image_filtered_content_warning(repo, &imgref.imgref)? { - eprintln!("{msg}") + crate::journal::journal_print(libsystemd::logging::Priority::Notice, &msg); } Ok(Box::new((*import).into())) }