From Fedora Project Wiki
(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...")
(No difference)

Revision as of 12:14, 24 October 2014

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"