Skip to content

John Sellens

My feedback

1 result found

  1. 4 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    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

    SyslogIdentifier=mattermost
    StandardOutput=syslog
    StandardError=syslog

    (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!

    John

Feedback and Knowledge Base