add diskusage monitor
This commit is contained in:
@@ -37,7 +37,7 @@ const server = micro(async (req, res) => {
|
||||
let theInputLine=allInputLines[i];
|
||||
let isWhiteListed = ruleEngine.processData(theInputLine);
|
||||
let miniInput = jsonminify(JSON.stringify(theInputLine));
|
||||
let now = Date();
|
||||
|
||||
if (isWhiteListed) {
|
||||
logger.log("debug", "Not Whitelisted: " + miniInput);
|
||||
fs.appendFileSync("./log/skipped.log", miniInput + "\n");
|
||||
|
||||
Reference in New Issue
Block a user