Make changelog less technical

This commit is contained in:
Michael Eischer
2023-04-30 14:51:46 +02:00
parent 9f074d8b3a
commit 66fe4afb7d

View File

@@ -1,13 +1,13 @@
Feature: Allows "-" as filename for the `--log` option. Feature: Log to stdout using the `--log -` option
When (e.g. for debugging purpose) the rest server is invoked like 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 `sudo -u restic rest-server [...] --log /dev/stdout`
it tries to open `/dev/stdout` (O_CREATE, O_WRITE, O_APPEND). This this did not work due to permission issues.
operation fails, as in the above invocation, `/dev/stdout` is owned by
the caller (here: root) and only writable for the caller. Subprocesses For logging to stdout, the `--log` option now supports the special
get just the filedescriptor. Using `/proc/self/fd/1` didn't work either, filename `-` which also works in these cases.
for the same reasons.
https://github.com/restic/rest-server/pull/217 https://github.com/restic/rest-server/pull/217