mirror of
https://github.com/NixOS/nix
synced 2025-06-24 22:11:15 +02:00
util/json-log-path: document unix sockets and concurrency issues
This commit is contained in:
parent
7240fb198f
commit
7cef4559fe
1 changed files with 3 additions and 1 deletions
|
@ -55,9 +55,11 @@ struct LoggerSettings : Config
|
|||
Setting<Path> jsonLogPath{
|
||||
this, "", "json-log-path",
|
||||
R"(
|
||||
A path to which JSON records of Nix's log output will be
|
||||
A file or unix socket to which JSON records of Nix's log output will be
|
||||
written, in the same format as `--log-format internal-json`
|
||||
(without the `@nix ` prefixes on each line).
|
||||
Concurrent writes to the same file by multiple Nix processes are not supported and
|
||||
may result in interleaved or corrupted log records.
|
||||
)"};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue