pm2-syslog
pm2-syslog copied to clipboard
Not working?
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?
Same here only with 2.10.3
The readme specifies to "uncomment". I ignored that and added the following lines to the bottom of the rsyslog config:
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.
Not working for me too.