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

Chris Lumens clumens at redhat.com
Fri Nov 15 14:48:26 UTC 2013


> 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.

Ugh, that's not good.

I don't really like generating another file, though, and not having the
logging info interleaved with the rest of the packaging output is going
to make it less useful.  What if we only do the logging if inst.debug is
passed on the command line?  We still have that flag, and we're not
using it for anything.

- Chris


More information about the anaconda-patches mailing list