由于之前使用过pm2,当时设置了pm2的log地址。
之后再启动项目时,pm2依然使用第一次启动项目时的out.log的输出地址。
那么如何每次启动时指定日志地址:https://blog.csdn.net/hahei2020/article/details/77430338
https://segmentfault.com/q/1010000011524458