summary refs log tree commit diff
path: root/nix
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-01-12 18:01:30 +0100
committerLudovic Courtès <ludo@gnu.org>2022-01-18 18:46:51 +0100
commit575e52ac2b090fd194086e9c1c53bbf8055acbc2 (patch)
tree0f07cf3eff0d1449ffd8334b8fe5e14b0dda7157 /nix
parent775203e52083235a067e7a737a75b24eae375afb (diff)
downloadguix-575e52ac2b090fd194086e9c1c53bbf8055acbc2.tar.gz
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.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/nix/libstore/globals.cc b/nix/libstore/globals.cc
index 0cc001fbe4..d4f9a46a74 100644
--- a/nix/libstore/globals.cc
+++ b/nix/libstore/globals.cc
@@ -45,11 +45,7 @@ Settings::Settings()
     useChroot = false;
     impersonateLinux26 = false;
     keepLog = true;
-#if HAVE_BZLIB_H
-    logCompression = COMPRESSION_BZIP2;
-#else
     logCompression = COMPRESSION_GZIP;
-#endif
     maxLogSize = 0;
     cacheFailure = false;
     pollInterval = 5;