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.
This commit is contained in:
Ludovic Courtès 2022-01-12 18:01:30 +01:00
parent 775203e520
commit 575e52ac2b
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5
3 changed files with 3 additions and 7 deletions

View file

@ -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;