diff --git a/src/libutil/include/nix/util/logging.hh b/src/libutil/include/nix/util/logging.hh index f2064b74d..765975faa 100644 --- a/src/libutil/include/nix/util/logging.hh +++ b/src/libutil/include/nix/util/logging.hh @@ -55,9 +55,11 @@ struct LoggerSettings : Config Setting 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. )"}; };