pm2
pm2 copied to clipboard
Aggregate logs from instances in one file
Hi,
When I start an application with -i 3, three processes start running, but their logs are written to three different files. Is there any way to aggregate those three outputs in one unified file for stdout and stderr, similarly to what happens with pm2 logs?
Thanks,
Pedro
You can now ([email protected]) merge all logs of the same process name to the same output and error file via the option --merge-logs
Cheers
Great!! Thanks!