davidarny / ultimate-steam-bot

Ultimate Steam Bot
MIT License
3 stars 0 forks source link

Bunyan logs incorrectly #3

Closed davidarny closed 5 years ago

davidarny commented 5 years ago
major@cs317615:~/ultimate-steam-bot$ pm2 logs
[TAILING] Tailing last 15 lines for [all] processes (change the value with --lines option)
/home/major/.pm2/pm2.log last 15 lines:
PM2        | 2019-01-23T20:46:26: PM2 log: Stopping app:utlimate-steam-bot id:0
PM2        | 2019-01-23T20:46:26: PM2 log: App name:utlimate-steam-bot id:0 disconnected
PM2        | 2019-01-23T20:46:26: PM2 log: App [utlimate-steam-bot:0] exited with code [0] via signal [SIGINT]
PM2        | 2019-01-23T20:46:26: PM2 log: pid=3417 msg=process killed
PM2        | 2019-01-23T20:46:26: PM2 log: App [utlimate-steam-bot:0] starting in -cluster mode-
PM2        | 2019-01-23T20:46:27: PM2 log: App [utlimate-steam-bot:0] online
PM2        | {"name":"server","hostname":"cs317615","pid":17562,"level":30,"msg":"[ServerApp]: App is running at http://localhost:3001 in production mode","time":"2019-01-23T17:46:42.098Z","v":0}
PM2        | {"name":"server","hostname":"cs317615","pid":17562,"level":30,"msg":"[SteamBot]: Successfully logged in","time":"2019-01-23T17:46:43.645Z","v":0}
PM2        | {"name":"server","hostname":"cs317615","pid":17562,"level":30,"msg":"[SteamBot]: Successfully set cookies","time":"2019-01-23T17:46:45.201Z","v":0}

/home/major/.pm2/logs/utlimate-steam-bot-error-0.log last 15 lines:
/home/major/.pm2/logs/utlimate-steam-bot-out-0.log last 15 lines:
0|utlimate |
0|utlimate | > ultimate-steam-bot@1.1.0 deploy /home/major/ultimate-steam-bot
0|utlimate | > rimraf dist coverage && tsc && node -r dotenv/config dist/index.js
0|utlimate |
davidarny commented 5 years ago

log4js can be considerate as an alternative option