From Fedora Project Wiki
No edit summary
No edit summary
 
(2 intermediate revisions by 2 users not shown)
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 [https://rpm-software-management.github.io/mock/Plugin-CompressLogs moved here]
 
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.

Latest revision as of 17:19, 27 March 2022


Page moved here