remove pm2 timestamp for logs

This commit is contained in:
CounterFire2023 2024-01-15 16:57:57 +08:00
parent 5ef4c8563e
commit f092e2e447
2 changed files with 2 additions and 7 deletions

View File

@ -1,5 +1,5 @@
import { IChain } from "chain/allchain"; import { IChain } from "chain/allchain";
import { batchEthLogs, ethBlockNumber, ethGetLogs, retryEthBlockNumber } from "chain/chain.api"; import { batchEthLogs, ethGetLogs, retryEthBlockNumber } from "chain/chain.api";
import logger from "logger/logger"; import logger from "logger/logger";
import { GeneralEvent } from "models/GeneralEvent"; import { GeneralEvent } from "models/GeneralEvent";
@ -17,8 +17,6 @@ let eventProcessers = {
NftStake: NftStake NftStake: NftStake
} }
const MAX_TOPICS = 4
export class EventBatchSvr { export class EventBatchSvr {
chainCfg: IChain chainCfg: IChain
eventCfgs: IEventCfg[] = [] eventCfgs: IEventCfg[] = []
@ -176,4 +174,4 @@ export class EventBatchSvr {
} }
return blockNumber return blockNumber
} }
} }

View File

@ -5,7 +5,6 @@
"script": "./dist/api.js", "script": "./dist/api.js",
"cwd": "/root/code/web_chain_client", "cwd": "/root/code/web_chain_client",
"max_memory_restart": "1024M", "max_memory_restart": "1024M",
"log_date_format": "YYYY-MM-DD HH:mm Z",
"watch": false, "watch": false,
"ignore_watch": ["node_modules", "logs", "fixtures", "tasks"], "ignore_watch": ["node_modules", "logs", "fixtures", "tasks"],
"instances": 1, "instances": 1,
@ -23,7 +22,6 @@
"script": "./dist/scriptions.js", "script": "./dist/scriptions.js",
"cwd": "/root/code/web_chain_client", "cwd": "/root/code/web_chain_client",
"max_memory_restart": "1024M", "max_memory_restart": "1024M",
"log_date_format": "YYYY-MM-DD HH:mm Z",
"watch": false, "watch": false,
"ignore_watch": ["node_modules", "logs", "fixtures", "tasks"], "ignore_watch": ["node_modules", "logs", "fixtures", "tasks"],
"instances": 1, "instances": 1,
@ -41,7 +39,6 @@
"script": "./dist/events.js", "script": "./dist/events.js",
"cwd": "/root/code/web_chain_client", "cwd": "/root/code/web_chain_client",
"max_memory_restart": "1024M", "max_memory_restart": "1024M",
"log_date_format": "YYYY-MM-DD HH:mm Z",
"watch": false, "watch": false,
"ignore_watch": ["node_modules", "logs", "fixtures", "tasks"], "ignore_watch": ["node_modules", "logs", "fixtures", "tasks"],
"instances": 1, "instances": 1,