From Fedora Project Wiki

Revision as of 12:14, 24 October 2014 by Msuchy (talk | contribs) (Created page with "= Compress Logs Plugin = This plugin compress logs created by mock (build.log, root.log and state.log). This plugin is disabled by default. == Configuration == In file <cod...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Compress Logs Plugin

This plugin compress logs created by mock (build.log, root.log and state.log). This plugin is disabled by default.

Configuration

In file /etc/mock/site-defaults.cfg put this configuration:

 config_opts['plugin_conf']['compress_logs_enable'] = False
 config_opts['plugin_conf']['compress_logs_opts'] = {}
 config_opts['plugin_conf']['compress_logs_opts']['command'] = "/usr/bin/xz -9"