This commit is contained in:
2022-08-23 18:42:37 +07:00
parent fa3a0830c5
commit 7bb8574887
2 changed files with 4 additions and 9 deletions
@@ -6,14 +6,9 @@
"auditLog": ".71c131f2ce727b13210eef32232709400762e5fb-audit.json",
"files": [
{
"date": 1660118902222,
"name": "2022-08-10-onlinetopup.log",
"hash": "f3452bb37273fa8d143fc72d0eb29cf38a01111c694585768cc9e22449acfb19"
},
{
"date": 1660153631005,
"name": "2022-08-11-onlinetopup.log",
"hash": "b04aaa1b43dcd1effc3a3b3d1fd0122fc3ab1e4dcfbfbe0fbc343412ab3ba877"
"date": 1661254787520,
"name": "2022-08-23-onlinetopup.log",
"hash": "e668ef50941194f7b10ecc9f45c4aa6a0b20dfa39dce90ddcea41607f465ef6a"
}
],
"hashType": "sha256"
+1 -1
View File
@@ -36,7 +36,7 @@ const fileRotateTransport = new winston.transports.DailyRotateFile({
if (process.env.NODE_ENV == "production") {
let logger = winston.createLogger({
levels: logLevels,
level: process.env.LOG_LEVEL || "info",
level: process.env.LOG_LEVEL || "warn",
exitOnError: false,
// format: combine(timestamp(), json()),
format: combine(