John Sellens

My feedback

  1. 4 votes
    Sign in
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  General » Mattermost Team Edition  ·  Flag idea as inappropriate…  ·  Admin →
    An error occurred while saving the comment
    John 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

    "EnableFile": false,

    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!


Feedback and Knowledge Base