Skip to content

make log compatible with the syslog protocol #397

@RiRa12621

Description

@RiRa12621

fabio currently is capable of logging to syslog if you tell it to but the problem with that is that it does not follow the regulations given in https://tools.ietf.org/html/rfc5424
therefore it is not possible to properly extract different severity levels from syslog with tools like rsyslog
the fix should be to use a library like https://github.com/hashicorp/go-syslog
and make a switch in the logger that will result in an extra option
if syslog
then use this library and log according to the RFC

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions