From 851c4e372ea776793188bc3e14f5000c2bbd2345 Mon Sep 17 00:00:00 2001 From: Qyriad Date: Wed, 7 Jan 2026 15:52:28 +0100 Subject: [PATCH] add log-format setting to release notes (oops) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This was mistakenly left out of b97b2e858bab¹. oopsie, soz [1]: b97b2e858babef00faa46fa557d9afe9e089a12a Change-Id: I1b7210143d66480b6a8a044f0db5f0cd6a6a6964 --- doc/manual/rl-next/log-format-setting.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 doc/manual/rl-next/log-format-setting.md diff --git a/doc/manual/rl-next/log-format-setting.md b/doc/manual/rl-next/log-format-setting.md new file mode 100644 index 000000000..384e89f67 --- /dev/null +++ b/doc/manual/rl-next/log-format-setting.md @@ -0,0 +1,20 @@ +--- +synopsis: "Make `log-format` a setting" +cls: [4686] +category: "Features" +credits: [Qyriad] +--- + +The [`--log-format` CLI option](@docroot@/command-ref/opt-common.md#opt-log-format) can now be set in [`nix.conf`](@docroot@/command-ref/conf-file.md#conf-log-format)! +For example, you can now persistently enable the `multiline-with-logs` log format [added in Lix 2.91](@docroot@/release-notes/rl-2.91.md) by adding the following to your `nix.conf`: + +```conf +log-format = multiline-with-logs +``` + +Or the equivalent in a NixOS configuration: +```nix +{ + nix.settings.log-format = "multiline-with-logs"; +} +```