mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-29 18:16:17 +01:00
refactor: remove some verbose logging
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user