4 votesJohn Sellens commented
I like syslog too - but I got the results I wanted without much trouble, so I thought I would share.
I run mattermost on centos 7, using systemd, which syslogs by default. In the service definition file I added
(otherwise it syslog'd as "platform"), and then I turned off file logging in the web interface, so my config.json now has
in the "LogSettings" section.
Otherwise, I imagine that leaving mattermost logging to "console" and wrapping it with a script that pipes output to logger might do the trick e.g.
platform 2>&1 | logger -t mattermost
Hope that helps - cheers!