Skip to content

How can I set syslog facility #399

@takafumi-kataoka

Description

@takafumi-kataoka

It appears that there is no way to set the syslog facility for applications of type service_systemd_linux.
The first argument passed to the syslog.New function is fixed to syslog.LOG_INFO, which results in the facility always being set to kern.

w, err := syslog.New(syslog.LOG_INFO, name)

Is there any workaround for this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions