Skip to content

sys logging does not work out of the box #252

@luisgarciaalanis

Description

@luisgarciaalanis

BUG: images are missing rsyslog service preventing applications from using the Linux system level logger.

The following app returns: Unix syslog delivery error

package main

import (
	"fmt"
	"log"
	"log/syslog"
)

func main() {
	logwriter, err := syslog.New(syslog.LOG_NOTICE, "myprog")
	if err != nil {
		fmt.Println(err.Error())
	}
	log.SetOutput(logwriter)
}

Should the images be including this basic system feature?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions