Skip to content

Node.js based forum software built for the modern web

refactor: remove some verbose logging

Barış Soner Uşaklı9abe22a04bd9
diff --git a/src/emailer.js b/src/emailer.js
index 929e737017..6dfe2601e1 100644
--- a/src/emailer.js
+++ b/src/emailer.js
@@ -357,8 +357,6 @@ Emailer.sendViaFallback = async (data) => {
// NodeMailer uses a combined "from"
data.from = `${data.from_name}<${data.from}>`;
delete data.from_name;
-
- winston.verbose(`[emailer] Sending email to uid ${data.uid} (${data.to})`);
await Emailer.fallbackTransport.sendMail(data);
};
diff --git a/src/posts/uploads.js b/src/posts/uploads.js
index b7916f8ad1..229eaf2cfe 100644
--- a/src/posts/uploads.js
+++ b/src/posts/uploads.js
@@ -163,7 +163,6 @@ module.exports = function (Posts) {
await Promise.all(filePaths.map(async (fileName) => {
try {
const size = await image.size(_getFullPath(fileName));
- winston.verbose(`[posts/uploads/${fileName}] Saving size (${size.width}px x ${size.height}px)`);
await db.setObject(`upload:${md5(fileName)}`, {
width: size.width,
height: size.height,