Using a pm2.json configuration file, how do I remove id | app.name | prefix in my logs?
My example: 5 | api.bran | part
I went through all pm2 --help and there's no info on how to do it. Is it even possible without editing pm2 module code?
Using a pm2.json configuration file, how do I remove id | app.name | prefix in my logs?
My example: 5 | api.bran | part
I went through all pm2 --help and there's no info on how to do it. Is it even possible without editing pm2 module code?
I know this post is old, but i was looking for same options as i have to push the json logs to splunk and this is what i tried .
pm2 logs --raw