diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2022-01-12 18:01:30 +0100 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2022-01-18 18:46:51 +0100 |
| commit | 575e52ac2b090fd194086e9c1c53bbf8055acbc2 (patch) | |
| tree | 0f07cf3eff0d1449ffd8334b8fe5e14b0dda7157 /nix | |
| parent | 775203e52083235a067e7a737a75b24eae375afb (diff) | |
daemon: Always default to gzip for log compression.
* nix/libstore/globals.cc (Settings::Settings): Have 'logCompression'
default to COMPRESSION_GZIP unconditionally.
* gnu/services/base.scm (<guix-configuration>)[log-compression]: Default
to 'gzip.
* doc/guix.texi (Invoking guix-daemon, Base Services): Adjust accordingly.
Diffstat (limited to 'nix')
| -rw-r--r-- | nix/libstore/globals.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/nix/libstore/globals.cc b/nix/libstore/globals.cc index 0cc001fbe4e..d4f9a46a747 100644 --- a/nix/libstore/globals.cc +++ b/nix/libstore/globals.cc | |||
| @@ -45,11 +45,7 @@ Settings::Settings() | |||
| 45 | useChroot = false; | 45 | useChroot = false; |
| 46 | impersonateLinux26 = false; | 46 | impersonateLinux26 = false; |
| 47 | keepLog = true; | 47 | keepLog = true; |
| 48 | #if HAVE_BZLIB_H | ||
| 49 | logCompression = COMPRESSION_BZIP2; | ||
| 50 | #else | ||
| 51 | logCompression = COMPRESSION_GZIP; | 48 | logCompression = COMPRESSION_GZIP; |
| 52 | #endif | ||
| 53 | maxLogSize = 0; | 49 | maxLogSize = 0; |
| 54 | cacheFailure = false; | 50 | cacheFailure = false; |
| 55 | pollInterval = 5; | 51 | pollInterval = 5; |
