From Fedora Project Wiki
No edit summary
m (Mattdm moved page Projects/Mock/Plugin/CompressLogs to Mock/Plugin/CompressLogs: Mock is not a Fedora Subproject.)
(No difference)

Revision as of 19:12, 28 April 2015

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"

This plugin is available since mock-1.2.1.