guix-devel/doc
Ludovic Courtès 29a6866886
daemon: Add gzip log compression.
* nix/nix-daemon/guix-daemon.cc (GUIX_OPT_LOG_COMPRESSION): New macro.
(options): Mark "disable-log-compression" as hidden and add
"log-compression".
(parse_opt): Handle GUIX_OPT_LOG_COMPRESSION.
* nix/libstore/build.cc (DerivationGoal): Add 'gzLogFile'.
(openLogFile): Initialize it when 'logCompression' is COMPRESSION_GZIP.
(closeLogFile, handleChildOutput): Honor 'gzLogFile'.
* nix/libstore/globals.hh (Settings)[compressLog]: Remove.
[logCompression]: New field.
(CompressionType): New enum.
* nix/libstore/globals.cc (Settings::Settings): Initialize it.
(update): Remove '_get' call for 'compressLog'.
* nix/local.mk (guix_daemon_LDADD, guix_register_LDADD): Add -lz.
* guix/store.scm (log-file): Handle '.gz' log files.
* tests/guix-daemon.sh: Add test with '--log-compression=gzip'.
* doc/guix.texi (Invoking guix-daemon): Adjust accordingly.
* config-daemon.ac: Check for libz and zlib.h.
2018-01-07 23:47:22 +01:00
..
images doc: Update dot graphs. 2016-12-17 14:46:42 +01:00
contributing.texi etc: Add snippets. 2017-12-15 23:15:32 +01:00
environment-gdb.scm doc: Add 'guix environment' examples. 2015-06-29 23:08:36 +02:00
fdl-1.3.texi doc: Add the stub of a manual. 2012-10-13 16:05:01 +02:00
guix.texi daemon: Add gzip log compression. 2018-01-07 23:47:22 +01:00
htmlxref.cnf doc: htmlxref: Fix link to Emacs-Guix manual. 2017-05-30 18:30:39 +03:00
local.mk build: Remove reference to 'doc/emacs.texi'. 2017-01-12 14:59:36 +01:00
package-hello.scm doc: Use the recommended Scheme format. 2015-09-14 23:10:58 +02:00