rules fixing and general beautification

This commit is contained in:
Joe
2019-01-07 08:00:06 -06:00
parent e29b4b9e86
commit dcde9f3080
4 changed files with 57 additions and 53 deletions

1
.gitignore vendored
View File

@@ -79,3 +79,4 @@ typings/
# DynamoDB Local files
.dynamodb/
casRpsLogExtractor/casRpsLogExtractor.config.json
casRpsLogExtractor/casRpsLogExtractor.maxPKey.dat

View File

@@ -1 +1 @@
0010000000a87kj9
0010000000a7p61y

View File

@@ -42,9 +42,11 @@ const server = micro(async (req, res) => {
if (isWhiteListed) {
logger.log("debug", "Not Whitelisted: " + miniInput);
fs.appendFileSync("./log/skipped.log", miniInput + "\n");
process.stdout.write(".");
} else {
logger.log("info", "Not Whitelisted: " + miniInput);
logger.log("debug", "Not Whitelisted: " + miniInput);
fs.appendFileSync("./log/issues.log", miniInput + "\n");
process.stdout.write("!");
}
}

View File

@@ -8,7 +8,8 @@
{ "_comment":"Listener Start" , "Logic":"-", "Field":"LogText", "Comp":"~", "Value":"/^Starting COMPortListener for.*on port /"},
{ "_comment":"Listener End" , "Logic":"-", "Field":"LogText", "Comp":"~", "Value":"/^Ending COMPortListener for.*on port /"},
{ "_comment":"Transaction Creation" , "Logic":"-", "Field":"LogText", "Comp":"===", "Value":"Create transaction"},
{ "_comment":"Transaction Creation" , "Logic":"-", "Field":"LogText", "Comp":"===", "Value":"ReorganisationWorker.InitializeForWorkerAPI entered."},
{ "_comment":"SettingDefaultFallback" , "Logic":"-", "Field":"LogText", "Comp":"===", "Value":"A setting value cannot be read. The default value is used."},
{ "Logic":"-", "Field":"LogText", "Comp":"===", "Value":"ReorganisationWorker.InitializeForWorkerAPI entered."},
{ "_comment":"Modules whose Loglevel can be trusted.",
"Logic":"&", "rules":[