mirror of
https://github.com/shadowsocks/shadowsocks-rust.git
synced 2026-02-09 01:59:16 +08:00
feat(shadowsocks-rust): logging support syslog (#2044)
This commit is contained in:
11
README.md
11
README.md
@@ -913,6 +913,17 @@ Example configuration:
|
||||
// Optional. If set, keeps the last N log files
|
||||
"max_files": 5
|
||||
}
|
||||
},
|
||||
{
|
||||
// Configure a syslog writer, only supported on *nix system
|
||||
"syslog": {
|
||||
// `level` and `format` can also be set here, if not set, it will use the default values
|
||||
|
||||
// Optional. Set the "identity" when calling openlog(). Use current service name by default.
|
||||
"identity": "identity_name",
|
||||
// Optional. Set the "facility" when calling openlog(). 1 (user-level messages) by default. See RFC5424.
|
||||
"facility": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user