Commit 3c29c9c4 authored by CompileNix's avatar CompileNix

log only matches

parent c94b4ecc
......@@ -31,6 +31,7 @@ function setupSmtp() {
}
function sendMail(subject, message) {
console.log(message);
mailOptions.subject += subject;
mailOptions.text = message;
......@@ -87,7 +88,6 @@ async function setupTail(filesToWatch) {
tail.on('line', data => {
lineCounter++;
console.log(`Watcher (${fileName}): ${data}`);
filterLog(data);
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment