From Fedora Project Wiki
< Mock
(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 edit summary |
||
Line 10: | Line 10: | ||
config_opts['plugin_conf']['compress_logs_opts'] = {} | config_opts['plugin_conf']['compress_logs_opts'] = {} | ||
config_opts['plugin_conf']['compress_logs_opts']['command'] = "/usr/bin/xz -9" | config_opts['plugin_conf']['compress_logs_opts']['command'] = "/usr/bin/xz -9" | ||
This plugin is available since mock-1.2.1. |
Revision as of 12:29, 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"
This plugin is available since mock-1.2.1.