pm2-syslog icon indicating copy to clipboard operation
pm2-syslog copied to clipboard

Not working?

Open nodesocket opened this issue 6 years ago • 3 comments

I have this module installed and enabled:

 Module activated
┌────────────┬─────────┬────────────┬────────┬─────────┬─────┬─────────────┐
│ Module     │ version │ target PID │ status │ restart │ cpu │ memory      │
├────────────┼─────────┼────────────┼────────┼─────────┼─────┼─────────────┤
│ pm2-syslog │ 2.2.3   │ N/A        │ online │ 0       │ 0%  │ 29.656 MB   │
└────────────┴─────────┴────────────┴────────┴─────────┴─────┴─────────────┘

Yet my application is still logging to blog-error-0.log and blog-out-0.log? What am I missing?

nodesocket avatar May 10 '18 05:05 nodesocket

Same here only with 2.10.3

brecke avatar May 23 '18 15:05 brecke

The readme specifies to "uncomment". I ignored that and added the following lines to the bottom of the rsyslog config: image

Turns out the "uncomment" is important as these lines need to be at the beginning of the file to be effective. After moving the declaration the logging worked as expected.

DiscoStarslayer avatar Aug 17 '21 14:08 DiscoStarslayer

Not working for me too. pm2-syslog

udhayakumarcp avatar Aug 06 '24 11:08 udhayakumarcp