Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在节点服务器中使用 pm2。我想保存日志,按时间或日志文件大小分隔。
$pm2 start test_node.js -o out.log --log-date-format "YYYY HH:MM"
我保存日志以进行每日报告。
我该怎么做?