shadowsocks / shadowsocks/shadowsocks-rust

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

Open
#2,044 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
10.9k
Forks
1.5k
Avg merge
4d 15h
Merged PRs (30d)
5

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the logging or appender entry point used by sslocal and inspect how appenders are configured from the shown log4rs YAML. Support a syslog appender targeting /dev/log with the listed facility, hostname, process_name, and severity, then run sslocal with the example configuration and confirm messages reach the device.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
observability
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.