From Fedora Project Wiki
m (Mattdm moved page Projects/Mock/Plugin/CompressLogs to Mock/Plugin/CompressLogs: Mock is not a Fedora Subproject.)
Line 1: Line 1:
= Compress Logs Plugin =


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


== Configuration ==
Page [[moved here|https://rpm-software-management.github.io/mock/Plugin-CompressLogs]]
 
In file <code>/etc/mock/site-defaults.cfg</code> 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.

Revision as of 17:18, 27 March 2022