feat: Modify logger to log to file that supports fail2ban (#284)

This commit is contained in:
Steven Correia
2022-08-23 03:42:56 +05:00
committed by GitHub
parent 5a27ac0f03
commit fe5fe5fab7
12 changed files with 427 additions and 7844 deletions
+3 -2
View File
@@ -10,7 +10,7 @@
"lint": "eslint . --max-warnings=0 --report-unused-disable-directives && echo '✔ Your .js files look good.'",
"start": "nodemon",
"start:prod": "node app.js --prod",
"test": "mocha test/lifecycle.test.js test/integration/**/*.test.js"
"test": "mocha test/lifecycle.test.js test/integration/**/*.test.js test/utils/**/*.test.js"
},
"eslintConfig": {
"plugins": [
@@ -54,7 +54,8 @@
"sharp": "^0.30.7",
"stream-to-array": "^2.3.0",
"uuid": "^8.3.2",
"validator": "^13.7.0"
"validator": "^13.7.0",
"winston": "^3.8.1"
},
"devDependencies": {
"chai": "^4.3.6",