I have a node.js server logging output to syslog. I am starting the server like this:
node app.js 2>&1 | logger -t app
I am using some node libraries to colorize the output (within the app code) and I can see all the colors fine in my laptop terminal running OSX but when ssh'ing into the machine and tailing /var/log/syslog
I see no colors.
I am using rsyslog to send the logs to a third party logging service (Papertrail) but no colors there either.
I have tried adding
$IncludeConfig /etc/rsyslog.d/*.conf
to rsyslog.conf
but no luck there as well.
Any ideas ? I'm starving for some log colors