mirror of
https://github.com/restic/rest-server.git
synced 2025-12-07 09:36:13 -08:00
Merge pull request #217 from HeikoSchlittermann/feat-log-to-stdout
feat: allow logging to stdout, stderr
This commit is contained in:
13
changelog/unreleased/pull-217
Normal file
13
changelog/unreleased/pull-217
Normal file
@@ -0,0 +1,13 @@
|
||||
Feature: Log to stdout using the `--log -` option
|
||||
|
||||
Logging to stdout was possible using `--log /dev/stdout`. However,
|
||||
when the rest server is run as a different user, for example, using
|
||||
|
||||
`sudo -u restic rest-server [...] --log /dev/stdout`
|
||||
|
||||
this did not work due to permission issues.
|
||||
|
||||
For logging to stdout, the `--log` option now supports the special
|
||||
filename `-` which also works in these cases.
|
||||
|
||||
https://github.com/restic/rest-server/pull/217
|
||||
Reference in New Issue
Block a user