Skip to content

pm2 logs with local timestamp

Tashrif Billah edited this page Dec 14, 2023 · 1 revision

Use:

./node_modules/pm2/bin/pm2 logs --timestamp "DD/MMM/YYYY HH:mm"

within Singularity container for debugging purposes. No need to modify package.json line for this timestamp.

Reference: https://github.com/AMP-SCZ/dpdash/issues/40