summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/routes/communities.rs4
-rw-r--r--src/routes/mod.rs2
-rw-r--r--src/routes/posts.rs2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/routes/communities.rs b/src/routes/communities.rs
index 67d670f..44fc1ec 100644
--- a/src/routes/communities.rs
+++ b/src/routes/communities.rs
@@ -871,7 +871,7 @@ async fn handler_communities_new_post_submit(
Some(lang.tr("post_new_missing_content_type", None).into_owned());
}
Some(mime) => {
- println!("will upload media");
+ log::debug!("will upload media");
let res = res_to_error(
ctx.http_client
.request(for_client(
@@ -906,7 +906,7 @@ async fn handler_communities_new_post_submit(
}
}
- println!("finished media upload");
+ log::debug!("finished media upload");
}
}
}
diff --git a/src/routes/mod.rs b/src/routes/mod.rs
index 67d3ad4..5affcf9 100644
--- a/src/routes/mod.rs
+++ b/src/routes/mod.rs
@@ -665,7 +665,7 @@ async fn handler_comment_submit_reply(
}
}
- println!("finished media upload");
+ log::debug!("finished media upload");
}
}
} else {
diff --git a/src/routes/posts.rs b/src/routes/posts.rs
index 100c097..9c3e5b5 100644
--- a/src/routes/posts.rs
+++ b/src/routes/posts.rs
@@ -522,7 +522,7 @@ async fn handler_post_submit_reply(
}
}
- println!("finished media upload");
+ log::debug!("finished media upload");
}
}
} else {