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
..
2017-03-16 22:50:14 +01:00
2016-04-03 14:19:09 +02:00
2014-03-30 12:02:10 +02:00
2017-01-26 13:49:56 +01:00
2016-09-07 23:59:02 +02:00
2016-04-03 14:19:09 +02:00
2017-04-22 14:42:15 +02:00
2017-01-14 00:57:51 +01:00
2016-05-04 23:35:55 +02:00
2017-05-31 17:08:45 +02:00
2017-10-30 17:20:42 +01:00
2016-04-03 14:19:09 +02:00
2017-05-13 12:40:20 +02:00
2017-02-13 16:04:09 +01:00
2015-11-26 22:35:01 +01:00
2016-05-28 01:07:12 +02:00
2017-10-12 23:47:48 +02:00
2017-07-03 23:51:23 +02:00
2016-04-03 14:19:09 +02:00
2017-09-14 00:10:13 +02:00
2017-02-13 16:04:09 +01:00
2017-07-17 23:41:36 +02:00
2016-04-03 14:19:09 +02:00
2017-08-24 23:55:51 +02:00
2017-01-04 16:18:53 +01:00
2016-04-03 14:19:09 +02:00
2015-10-19 10:10:47 +02:00
2014-04-22 11:30:58 +02:00
2017-11-11 15:33:04 +01:00
2018-01-07 23:47:22 +01:00
2017-08-20 20:55:45 +08:00
2016-08-29 00:09:44 +02:00
2017-06-21 16:53:22 +02:00
2017-12-18 23:17:30 +01:00
2016-05-21 01:35:14 +02:00
2016-10-28 22:30:17 +02:00
2016-05-24 14:45:18 +02:00
2017-06-02 18:47:06 +02:00
2017-11-11 15:33:47 +01:00
2016-07-29 11:39:30 +02:00
2017-12-06 15:02:24 +01:00
2016-09-01 13:40:49 +03:00
2017-03-16 22:50:14 +01:00
2017-10-06 14:16:24 +02:00
2017-12-10 21:59:07 +02:00
2017-05-25 14:25:17 +02:00
2016-04-03 14:19:09 +02:00
2017-03-18 00:39:49 +01:00
2017-03-22 15:02:33 +01:00
2017-04-05 22:45:41 +02:00
2017-03-16 22:50:14 +01:00
2016-04-03 14:19:09 +02:00
2017-09-28 13:10:10 +02:00
2017-06-26 22:52:06 +02:00
2017-12-01 18:47:34 +01:00
2017-06-18 00:14:07 +02:00
2016-07-14 19:07:07 +02:00
2017-12-23 00:05:05 +01:00
2016-04-03 14:19:09 +02:00
2017-04-04 00:10:00 +02:00
2017-11-08 22:31:58 +01:00
2016-04-03 14:19:09 +02:00
2013-12-20 17:17:42 +01:00
2013-12-20 17:17:42 +01:00
2017-04-07 00:17:16 +02:00
2016-04-03 14:19:09 +02:00
2017-11-21 22:46:55 +01:00
2017-09-11 11:10:21 +02:00
2017-11-25 18:12:33 +01:00
2017-12-06 15:02:24 +01:00
2012-04-19 23:09:55 +02:00
2017-06-15 17:03:19 +02:00
2017-05-10 22:05:21 +02:00
2017-03-26 12:53:48 +02:00
2016-04-03 14:19:09 +02:00
2017-03-16 22:50:14 +01:00
2017-10-06 14:16:23 +02:00
2017-11-17 10:47:49 +01:00
2017-10-11 15:20:50 +02:00