Skip to content

[Feature Request] Please add support for directly loging to /dev/log (syslog device) #2044

Description

@MichaelSuen-thePointer

demo log4rs config file:

refresh_rate: 30 seconds

appenders:
  syslog:
    kind: syslog
    facility: local0
    path: /dev/log
    hostname: localhost
    process_name: sslocal
    severity: debug

root:
  level: debug
  appenders:
    - syslog

sslocal --log-config log4rs.yaml

Activity

  1. zonyitoo commented on Nov 12, 2025

    @zonyitoo
    Collaborator

    log4rs is now unmaintained, which is planned to be removed from this project.

  2. MichaelSuen-thePointer commented on Nov 12, 2025

    @MichaelSuen-thePointer
    Author

    log4rs is now unmaintained, which is planned to be removed from this project.

    This request still remains: give the ability to log directly into /dev/log device.

  3. changed the title [-][Feature Request] Please add support for syslog appender in log4rs[/-] [+][Feature Request] Please add support for directly loging to `/dev/log` (syslog device)[/+] on Nov 15, 2025
  4. zonyitoo commented on Nov 16, 2025

    @zonyitoo
    Collaborator

    Try to set syslog key in the configuration file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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