From 575e52ac2b090fd194086e9c1c53bbf8055acbc2 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 12 Jan 2022 18:01:30 +0100 Subject: 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 ()[log-compression]: Default to 'gzip. * doc/guix.texi (Invoking guix-daemon, Base Services): Adjust accordingly. --- nix/libstore/globals.cc | 4 ---- 1 file changed, 4 deletions(-) (limited to 'nix/libstore') 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; -- cgit v1.2.3