[master][PATCH] Put yum_lock logging to a separate file and just attach it

Vratislav Podzimek vpodzime at redhat.com
Fri Nov 15 10:34:13 UTC 2013


On Fri, 2013-11-15 at 11:11 +0100, Vratislav Podzimek wrote:
> In some cases, yum_lock logs may grow to megabytes (especially with slow
> Internet connection) which makes anaconda-tb file generation take at least tens
> of seconds (i. e. it takes tens of seconds for the exception dialog to appear)
> and the resulting file is so big that it is considered a binary attachement by
> libreport/bugzilla.
> 
> This change makes exception dialog appear in a few seconds with the anaconda-tb
> size reduced to hundreds of kilobytes.
Maybe we could even attach it gzipped? I don't think it has ever been
useful for searching in bugzilla and we need to inspect it so rarely,
that it shouldn't be a problem. gzip compresses it from 2.4 MB to 68 KB
in my case.

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list